[Checkins] SVN: z3c.testsetup/trunk/src/z3c/testsetup/doctesting.py Use full ZCML filepath when naming ZCML layers.

Uli Fouquet uli at gnufix.de
Mon May 4 10:46:18 EDT 2009


Log message for revision 99710:
  Use full ZCML filepath when naming ZCML layers.

Changed:
  U   z3c.testsetup/trunk/src/z3c/testsetup/doctesting.py

-=-
Modified: z3c.testsetup/trunk/src/z3c/testsetup/doctesting.py
===================================================================
--- z3c.testsetup/trunk/src/z3c/testsetup/doctesting.py	2009-05-04 14:45:11 UTC (rev 99709)
+++ z3c.testsetup/trunk/src/z3c/testsetup/doctesting.py	2009-05-04 14:46:18 UTC (rev 99710)
@@ -126,7 +126,8 @@
         layer = DefaultZCMLLayer(
             os.path.join(os.path.dirname(filepath), zcml_file),
             DefaultZCMLLayer.__module__,
-            '%s [%s]' % (DefaultZCMLLayer.__name__, zcml_file))
+            '%s [%s]' % (DefaultZCMLLayer.__name__,
+                         os.path.join(os.path.dirname(filepath), zcml_file)))
         return layer
 
     def isTestFile(self, filepath):



More information about the Checkins mailing list