~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to blackbox.py

  • Committer: Aaron Bentley
  • Date: 2005-12-03 20:42:25 UTC
  • mfrom: (147.4.25 trunk)
  • mto: (147.4.27 trunk)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: aaron.bentley@utoronto.ca-20051203204225-25678bc921de4fc1
MergeĀ fromĀ lifeless

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from bzrlib.selftest.blackbox import ExternalBase
 
1
from bzrlib.tests.blackbox import ExternalBase
2
2
from unittest import makeSuite
3
3
import os.path
4
4
class TestBzrTools(ExternalBase):
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=1)
 
27
        self.runbzr('shelve -r 1 -m foo', retcode=0)
28
28
 
29
29
    def test_fetch_ghosts(self):
30
30
        self.runbzr('init')
31
 
        try:
32
 
            self.runbzr('fetch-ghosts .', retcode=1)
33
 
        except AssertionError:
34
 
            self.runbzr('fetch-ghosts .', retcode=3)
 
31
        self.runbzr('fetch-ghosts .')
35
32
 
36
33
    def test_patch(self):
37
34
        self.runbzr('init')