/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/blackbox/test_annotate.py

  • Committer: Robert Collins
  • Date: 2007-07-02 05:26:25 UTC
  • mfrom: (2566 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2568.
  • Revision ID: robertc@robertcollins.net-20070702052625-motr7ljwhmqvw9rg
Merge with bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        os.chdir('tree')
157
157
        out, err = self.run_bzr('annotate', 'empty')
158
158
        self.assertEqual('', out)
 
159
 
 
160
    def test_annotate_nonexistant_file(self):
 
161
        tree = self.make_branch_and_tree('tree')
 
162
        self.build_tree(['tree/file'])
 
163
        tree.add(['file'])
 
164
        tree.commit('add a file')
 
165
 
 
166
        os.chdir('tree')
 
167
        out, err = self.run_bzr("annotate doesnotexist", retcode=3)
 
168
        self.assertEqual('', out)
 
169
        self.assertEqual("bzr: ERROR: doesnotexist is not versioned\n", err)