Rev 2471: When using adapt_modules, you pass in the names, but you don't load the modules first. in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/test_autoloader
John Arbash Meinel
john at arbash-meinel.com
Fri Apr 27 22:19:36 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/test_autoloader
------------------------------------------------------------
revno: 2471
revision-id: john at arbash-meinel.com-20070427211920-5u7sa7e8q1q7wy2z
parent: john at arbash-meinel.com-20070427210323-ug6uj12wfbi2xh7x
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: test_autoloader
timestamp: Fri 2007-04-27 16:19:20 -0500
message:
When using adapt_modules, you pass in the names, but you don't load the modules first.
modified:
bzrlib/tests/blackbox/encoding_tests/__init__.py __init__.py-20070427205653-dxoru4wmr60nyag0-1
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/encoding_tests/__init__.py'
--- a/bzrlib/tests/blackbox/encoding_tests/__init__.py 2007-04-27 21:03:23 +0000
+++ b/bzrlib/tests/blackbox/encoding_tests/__init__.py 2007-04-27 21:19:20 +0000
@@ -26,7 +26,7 @@
]
loader = tests.TestLoader()
- suite = loader.loadTestsFromModuleNames(test_encodings)
+ suite = tests.TestSuite()
adapter = EncodingTestAdapter()
tests.adapt_modules(test_encodings, adapter, loader, suite)
More information about the bazaar-commits
mailing list