[Checkins] SVN: martian/branches/jw-skip-tests/src/martian/ Extend tests for explicitely scanning tests packages.

Jan-Wijbrand Kolman jw at infrae.com
Tue Jul 24 06:27:48 EDT 2007


Log message for revision 78304:
  Extend tests for explicitely scanning tests packages.

Changed:
  U   martian/branches/jw-skip-tests/src/martian/scan.txt
  A   martian/branches/jw-skip-tests/src/martian/tests/withtestspackages/tests/subpackage/
  A   martian/branches/jw-skip-tests/src/martian/tests/withtestspackages/tests/subpackage/__init__.py

-=-
Modified: martian/branches/jw-skip-tests/src/martian/scan.txt
===================================================================
--- martian/branches/jw-skip-tests/src/martian/scan.txt	2007-07-24 06:46:06 UTC (rev 78303)
+++ martian/branches/jw-skip-tests/src/martian/scan.txt	2007-07-24 10:25:53 UTC (rev 78304)
@@ -204,3 +204,11 @@
   <ModuleInfo object for 'martian.tests.withtestspackages.subpackage'>,
   <ModuleInfo object for 'martian.tests.withtestspackages.tests'>]
 
+You can also explicitely grok tests and ftests packages::
+
+  >>> module_info = module_info_from_dotted_name(
+  ...     'martian.tests.withtestspackages.tests')
+  >>> module_info
+  <ModuleInfo object for 'martian.tests.withtestspackages.tests'>
+  >>> print module_info.getSubModuleInfos()
+  foo

Added: martian/branches/jw-skip-tests/src/martian/tests/withtestspackages/tests/subpackage/__init__.py
===================================================================



More information about the Checkins mailing list