~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to blackbox.py

  • Committer: Aaron Bentley
  • Date: 2006-03-18 17:19:52 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060318171952-ddd8719266b904c8
Fixed shelf test case

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    def test_shelve(self):
25
25
        self.runbzr('init')
26
26
        self.runbzr('commit -m uc --unchanged')
27
 
        self.runbzr('shelve -r 1 -m foo', retcode=3)
28
 
        file('foo', '').write('foo')
 
27
        self.runbzr('shelve -r 1 -m foo --all', retcode=3)
 
28
        file('foo', 'wb').write('foo')
29
29
        self.runbzr('add foo')
30
30
        self.runbzr('commit -m foo')
31
 
        self.runbzr('shelve -r 1 -m foo', retcode=0)
 
31
        self.runbzr('shelve -r 1 -m foo --all', retcode=0)
32
32
 
33
33
    def test_fetch_ghosts(self):
34
34
        self.runbzr('init')