~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to blackbox.py

  • Committer: Aaron Bentley
  • Date: 2005-11-15 18:34:19 UTC
  • mto: (283.2.1 bzrtools2)
  • mto: This revision was merged to the branch mainline in revision 285.
  • Revision ID: abentley@panoramicfeedback.com-20051115183419-54559bb4dcd71373
Got prompt and title working

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from bzrlib.tests.blackbox import ExternalBase
 
1
from bzrlib.selftest.blackbox import ExternalBase
2
2
from unittest import makeSuite
3
3
import os.path
4
4
class TestBzrTools(ExternalBase):
28
28
 
29
29
    def test_fetch_ghosts(self):
30
30
        self.runbzr('init')
31
 
        self.runbzr('fetch-ghosts .')
 
31
        try:
 
32
            self.runbzr('fetch-ghosts .', retcode=1)
 
33
        except AssertionError:
 
34
            self.runbzr('fetch-ghosts .', retcode=3)
32
35
 
33
36
    def test_patch(self):
34
37
        self.runbzr('init')