[Checkins] SVN: martian/branches/philikon-moduleinfo-kwarg/src/martian/tests/test_all.py Make docfilesuite paths relative to package. That way we don't have say ../ in the

Philipp von Weitershausen philikon at philikon.de
Wed Oct 10 06:25:27 EDT 2007


Log message for revision 80783:
  Make docfilesuite paths relative to package. That way we don't have say ../ in the
  path.
  

Changed:
  U   martian/branches/philikon-moduleinfo-kwarg/src/martian/tests/test_all.py

-=-
Modified: martian/branches/philikon-moduleinfo-kwarg/src/martian/tests/test_all.py
===================================================================
--- martian/branches/philikon-moduleinfo-kwarg/src/martian/tests/test_all.py	2007-10-10 10:13:13 UTC (rev 80782)
+++ martian/branches/philikon-moduleinfo-kwarg/src/martian/tests/test_all.py	2007-10-10 10:25:26 UTC (rev 80783)
@@ -61,12 +61,15 @@
 def test_suite():
     suite = unittest.TestSuite()
     suite.addTests([
-        doctest.DocFileSuite('../README.txt',
+        doctest.DocFileSuite('README.txt',
+                             package='martian',
                              globs=globs,
                              optionflags=optionflags),
-        doctest.DocFileSuite('../scan.txt',
+        doctest.DocFileSuite('scan.txt',
+                             package='martian',
                              optionflags=optionflags),
-        doctest.DocFileSuite('../directive.txt',
+        doctest.DocFileSuite('directive.txt',
+                             package='martian',
                              optionflags=optionflags),
         ])
     return suite



More information about the Checkins mailing list