~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bad_files.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-28 07:08:27 UTC
  • mfrom: (2553.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070628070827-h5s313dg5tnag9vj
(robertc) Show the names of commit hooks during commit.

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, wt.smart_add, ['a-fifo'])
 
73
        self.assertRaises(errors.BadFileKindError,
 
74
                          add.smart_add_tree, wt, ['a-fifo'])
74
75
 
75
76
        # And the list of files shouldn't have been modified
76
77
        verify_status(self, wt,
81
82
 
82
83
        # Make sure smart_add can handle having a bogus
83
84
        # file in the way
84
 
        wt.smart_add([])
 
85
        add.smart_add_tree(wt, ['.'])
85
86
        verify_status(self, wt,
86
87
                          ['added:\n',
87
88
                           '  six\n',