~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_annotate.py

  • Committer: Robert Collins
  • Date: 2005-11-28 05:13:41 UTC
  • mfrom: (1185.33.54 merge-recovered)
  • Revision ID: robertc@robertcollins.net-20051128051341-059936f2f29a12c8
Merge from Martin. Adjust check to work with HTTP again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
from bzrlib.clone import copy_branch
35
35
from bzrlib.errors import BzrCommandError
36
36
from bzrlib.osutils import has_symlinks
37
 
from bzrlib.selftest import TestCaseInTempDir, BzrTestBase
 
37
from bzrlib.tests import TestCaseInTempDir, BzrTestBase
38
38
from bzrlib.annotate import annotate_file
39
39
 
40
40
 
44
44
        b = Branch.initialize('.')
45
45
        self.build_tree_contents([('hello.txt', 'my helicopter\n'),
46
46
                                  ('nomail.txt', 'nomail\n')])
47
 
        b.add(['hello.txt'])
 
47
        b.working_tree().add(['hello.txt'])
48
48
        b.working_tree().commit('add hello', 
49
49
                                committer='test@user')
50
 
        b.add(['nomail.txt'])
 
50
        b.working_tree().add(['nomail.txt'])
51
51
        b.working_tree().commit('add nomail', committer='no mail')
52
52
 
53
53
    def test_help_annotate(self):