~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/blackbox.py

  • Committer: Aaron Bentley
  • Date: 2006-03-29 06:43:34 UTC
  • mfrom: (355.1.3 bzrtools)
  • Revision ID: aaron.bentley@utoronto.ca-20060329064334-62e56b84dedf3f8d
Merge combined work

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self.runbzr('init source')
75
75
        self.runbzr('checkout --lightweight source checkout')
76
76
        self.runbzr('zap checkout')
 
77
        self.assertIs(False, os.path.exists('checkout'))
 
78
        self.assertIs(True, os.path.exists('source'))
 
79
 
 
80
    def test_zap_branch(self):
 
81
        self.runbzr('init source')
 
82
        self.runbzr('checkout --lightweight source checkout')
 
83
        self.runbzr('zap --branch checkout')
 
84
        self.assertIs(False, os.path.exists('checkout'))
 
85
        self.assertIs(False, os.path.exists('source'))
77
86
 
78
87
    def test_branches(self):
79
88
        self.runbzr('init source')