~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bad_files.py

  • Committer: Robert Collins
  • Date: 2007-07-04 02:43:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2581.
  • Revision ID: robertc@robertcollins.net-20070704024326-czaqy9flaooda2jj
Fix missed tests.

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',