~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shelf_tests.py

  • Committer: Aaron Bentley
  • Date: 2005-11-26 00:08:11 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051126000811-82d43e20670a2de8
Adjusted to match API changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
        # Create a test file and commit it
32
32
        file('test_file', 'w').write(self.ORIGINAL)
33
 
        b.add('test_file')
 
33
        b.working_tree().add('test_file')
34
34
        b.working_tree().commit(message='add test_file')
35
35
 
36
36
        # Modify the test file
70
70
 
71
71
        # Create a test file and commit it
72
72
        file('test_file', 'w').write(self.ORIGINAL)
73
 
        b.add('test_file')
 
73
        b.working_tree().add('test_file')
74
74
        b.working_tree().commit(message='add test_file')
75
75
 
76
76
        # Shelve the changes
85
85
 
86
86
        # Create a test file and commit it
87
87
        file('test_file', 'w').write(self.ORIGINAL)
88
 
        b.add('test_file')
 
88
        b.working_tree().add('test_file')
89
89
        b.working_tree().commit(message='add test_file')
90
90
 
91
91
        # Modify the test file and commit it