[Checkins] SVN: z3c.recipe.usercrontab/trunk/ renamed test module to keep it from getting picked up by the coverage tests
Reinout van Rees
reinout at vanrees.org
Mon Jun 15 11:26:17 EDT 2009
Log message for revision 101012:
renamed test module to keep it from getting picked up by the coverage tests
Changed:
U z3c.recipe.usercrontab/trunk/buildout.cfg
D z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/rtests.py
A z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/tests.py
-=-
Modified: z3c.recipe.usercrontab/trunk/buildout.cfg
===================================================================
--- z3c.recipe.usercrontab/trunk/buildout.cfg 2009-06-15 15:13:23 UTC (rev 101011)
+++ z3c.recipe.usercrontab/trunk/buildout.cfg 2009-06-15 15:26:17 UTC (rev 101012)
@@ -8,7 +8,7 @@
[test]
recipe = zc.recipe.testrunner
eggs = z3c.recipe.usercrontab
-defaults = '--tests-pattern rtests'.split()
+defaults = '--tests-pattern tests'.split()
[versions]
zc.recipe.egg >= 1.1.0
Deleted: z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/rtests.py
===================================================================
--- z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/rtests.py 2009-06-15 15:13:23 UTC (rev 101011)
+++ z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/rtests.py 2009-06-15 15:26:17 UTC (rev 101012)
@@ -1,32 +0,0 @@
-# Copyright (c) 2007-2009 Zope Foundation and contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-
-import zc.buildout.testing
-
-import unittest
-import zope.testing
-from zope.testing import doctest, renormalizing
-
-from z3c.recipe.usercrontab import UserCrontabManager
-
-usercrontab = UserCrontabManager()
-
-def setUp(test):
- zc.buildout.testing.buildoutSetUp(test)
- usercrontab.read_crontab()
- zc.buildout.testing.install_develop('z3c.recipe.usercrontab', test)
-
-def tearDown(test):
- zc.buildout.testing.buildoutTearDown(test)
- usercrontab.write_crontab()
-
-def test_suite():
- return unittest.TestSuite(doctest.DocFileSuite('README.txt', setUp=setUp,
- tearDown=tearDown))
Copied: z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/tests.py (from rev 100957, z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/rtests.py)
===================================================================
--- z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/tests.py (rev 0)
+++ z3c.recipe.usercrontab/trunk/src/z3c/recipe/usercrontab/tests.py 2009-06-15 15:26:17 UTC (rev 101012)
@@ -0,0 +1,32 @@
+# Copyright (c) 2007-2009 Zope Foundation and contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+
+import zc.buildout.testing
+
+import unittest
+import zope.testing
+from zope.testing import doctest, renormalizing
+
+from z3c.recipe.usercrontab import UserCrontabManager
+
+usercrontab = UserCrontabManager()
+
+def setUp(test):
+ zc.buildout.testing.buildoutSetUp(test)
+ usercrontab.read_crontab()
+ zc.buildout.testing.install_develop('z3c.recipe.usercrontab', test)
+
+def tearDown(test):
+ zc.buildout.testing.buildoutTearDown(test)
+ usercrontab.write_crontab()
+
+def test_suite():
+ return unittest.TestSuite(doctest.DocFileSuite('README.txt', setUp=setUp,
+ tearDown=tearDown))
More information about the Checkins
mailing list