~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/blackbox.py

  • Committer: Aaron Bentley
  • Date: 2006-07-13 13:12:22 UTC
  • mfrom: (415.1.1 bzrtools)
  • Revision ID: abentley@panoramicfeedback.com-20060713131222-2bfdeff06434967b
clean-tree --detritus no longer implies --unknown

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        self.runbzr('clean-tree')
18
18
        assert os.path.lexists('name~')
19
19
        assert not os.path.lexists('name')
 
20
        self.touch('name')
20
21
        self.runbzr('clean-tree --detritus')
 
22
        assert os.path.lexists('name')
21
23
        assert not os.path.lexists('name~')
22
24
        assert os.path.lexists('name.pyc')
23
25
        self.runbzr('clean-tree --ignored')
 
26
        assert os.path.lexists('name')
 
27
        assert not os.path.lexists('name.pyc')
 
28
        self.runbzr('clean-tree --unknown')
 
29
        assert not os.path.lexists('name')
 
30
        self.touch('name')
 
31
        self.touch('name~')
 
32
        self.touch('name.pyc')
 
33
        self.runbzr('clean-tree --unknown --ignored')
 
34
        assert not os.path.lexists('name')
 
35
        assert not os.path.lexists('name~')
24
36
        assert not os.path.lexists('name.pyc')
25
37
 
26
38
    def test_shelve(self):