Rev 4206: Import needed module for a doctest. in http://people.ubuntu.com/~robertc/baz2.0/pending/tests.fixes
Robert Collins
robertc at robertcollins.net
Thu Mar 26 04:19:00 GMT 2009
At http://people.ubuntu.com/~robertc/baz2.0/pending/tests.fixes
------------------------------------------------------------
revno: 4206
revision-id: robertc at robertcollins.net-20090326041854-amyhfrfar5p7k6rl
parent: pqm at pqm.ubuntu.com-20090326001427-mnhqpak56tlqa5e7
committer: Robert Collins <robertc at robertcollins.net>
branch nick: tests.fixes
timestamp: Thu 2009-03-26 15:18:54 +1100
message:
Import needed module for a doctest.
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2009-03-24 12:15:01 +0000
+++ b/bzrlib/tests/__init__.py 2009-03-26 04:18:54 +0000
@@ -3224,6 +3224,7 @@
the scenario name at the end of its id(), and updating the test object's
__dict__ with the scenario_param_dict.
+ >>> import bzrlib.tests.test_sampler
>>> r = multiply_tests(
... bzrlib.tests.test_sampler.DemoTest('test_nothing'),
... [('one', dict(param=1)),
More information about the bazaar-commits
mailing list