Rev 4990: Fix imports. in file:///home/vila/src/bzr/reviews/fix-513063/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Thu Feb 4 09:37:08 GMT 2010
At file:///home/vila/src/bzr/reviews/fix-513063/
------------------------------------------------------------
revno: 4990
revision-id: v.ladeuil+lp at free.fr-20100204093708-zj9y3qhsi0m6zlk8
parent: nmb at wartburg.edu-20100128151945-m7b8g17wpa5sjn7n
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: fix-513063
timestamp: Thu 2010-02-04 10:37:08 +0100
message:
Fix imports.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_bound_branches.py'
--- a/bzrlib/tests/blackbox/test_bound_branches.py 2010-01-28 15:19:45 +0000
+++ b/bzrlib/tests/blackbox/test_bound_branches.py 2010-02-04 09:37:08 +0000
@@ -22,17 +22,18 @@
from bzrlib import (
bzrdir,
- errors
+ errors,
+ tests,
)
from bzrlib.branch import Branch
from bzrlib.bzrdir import (BzrDir, BzrDirFormat, BzrDirMetaFormat1)
from bzrlib.osutils import getcwd
-from bzrlib.tests import TestCaseWithTransport
+from bzrlib.tests import script
import bzrlib.urlutils as urlutils
from bzrlib.workingtree import WorkingTree
-class TestLegacyFormats(TestCaseWithTransport):
+class TestLegacyFormats(tests.TestCaseWithTransport):
def setUp(self):
super(TestLegacyFormats, self).setUp()
@@ -61,7 +62,7 @@
'upgrade your branch at %s/.\n' % cwd, err)
-class TestBoundBranches(TestCaseWithTransport):
+class TestBoundBranches(tests.TestCaseWithTransport):
def create_branches(self):
base_tree = self.make_branch_and_tree('base')
@@ -422,7 +423,6 @@
self.check_revno(4, '../base')
-from bzrlib.tests import script
class TestBind(script.TestCaseWithTransportAndScript):
def test_bind_when_bound(self):
More information about the bazaar-commits
mailing list