/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bad_files.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
                           ])
71
71
 
72
72
        # We should raise an error if we are adding a bogus file
73
 
        self.assertRaises(errors.BadFileKindError,
74
 
                          add.smart_add_tree, wt, ['a-fifo'])
 
73
        self.assertRaises(errors.BadFileKindError, wt.smart_add, ['a-fifo'])
75
74
 
76
75
        # And the list of files shouldn't have been modified
77
76
        verify_status(self, wt,
82
81
 
83
82
        # Make sure smart_add can handle having a bogus
84
83
        # file in the way
85
 
        add.smart_add_tree(wt, ['.'])
 
84
        wt.smart_add([])
86
85
        verify_status(self, wt,
87
86
                          ['added:\n',
88
87
                           '  six\n',