Rev 5029: Fix imports in per_branch/test_revision_history.py. in file:///home/vila/src/bzr/cleanup/test-imports/

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Feb 8 09:02:33 GMT 2010


At file:///home/vila/src/bzr/cleanup/test-imports/

------------------------------------------------------------
revno: 5029
revision-id: v.ladeuil+lp at free.fr-20100208090233-6xv6j62hhwfa6wyi
parent: v.ladeuil+lp at free.fr-20100208090201-ds6ldvwxfeud7jdo
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: test-imports
timestamp: Mon 2010-02-08 10:02:33 +0100
message:
  Fix imports in per_branch/test_revision_history.py.
-------------- next part --------------
=== modified file 'bzrlib/tests/per_branch/test_revision_history.py'
--- a/bzrlib/tests/per_branch/test_revision_history.py	2009-07-10 05:49:34 +0000
+++ b/bzrlib/tests/per_branch/test_revision_history.py	2010-02-08 09:02:33 +0000
@@ -21,10 +21,10 @@
     errors,
     revision as _mod_revision,
     )
-from bzrlib.tests.per_branch.test_branch import TestCaseWithBranch
-
-
-class TestLastRevision(TestCaseWithBranch):
+from bzrlib.tests import per_branch
+
+
+class TestLastRevision(per_branch.TestCaseWithBranch):
     """Tests for the last_revision property of the branch.
     """
 
@@ -47,7 +47,7 @@
         ##         br.set_last_revision_info, 4, 'current:')
 
 
-class TestRevisionHistoryCaching(TestCaseWithBranch):
+class TestRevisionHistoryCaching(per_branch.TestCaseWithBranch):
     """Tests for the caching of branches' revision_history.
 
     When locked, branches should avoid regenerating or rereading
@@ -201,7 +201,7 @@
             branch.unlock()
 
 
-class TestRevisionHistory(TestCaseWithBranch):
+class TestRevisionHistory(per_branch.TestCaseWithBranch):
 
     def test_parent_ghost(self):
         tree = self.make_branch_and_tree('tree')



More information about the bazaar-commits mailing list