[Checkins] SVN: Sandbox/ctheune/zodbupgrade/ Add boilerplate for tests.

Christian Theune ct at gocept.com
Sat May 30 03:12:35 EDT 2009


Log message for revision 100548:
  Add boilerplate for tests.
  
  Remove references to private code from buildout.
  

Changed:
  U   Sandbox/ctheune/zodbupgrade/buildout.cfg
  A   Sandbox/ctheune/zodbupgrade/src/zodbupgrade/test.py

-=-
Modified: Sandbox/ctheune/zodbupgrade/buildout.cfg
===================================================================
--- Sandbox/ctheune/zodbupgrade/buildout.cfg	2009-05-30 06:56:05 UTC (rev 100547)
+++ Sandbox/ctheune/zodbupgrade/buildout.cfg	2009-05-30 07:12:35 UTC (rev 100548)
@@ -1,8 +1,11 @@
 [buildout]
-develop = . ../kita
-parts = zodbupgrade
+develop = . 
+parts = zodbupgrade test
 
+[test]
+recipe = zc.recipe.testrunner
+eggs = zodbupgrade
+
 [zodbupgrade]
 recipe = zc.recipe.egg
 eggs = zodbupgrade
-    kita

Added: Sandbox/ctheune/zodbupgrade/src/zodbupgrade/test.py
===================================================================
--- Sandbox/ctheune/zodbupgrade/src/zodbupgrade/test.py	                        (rev 0)
+++ Sandbox/ctheune/zodbupgrade/src/zodbupgrade/test.py	2009-05-30 07:12:35 UTC (rev 100548)
@@ -0,0 +1,24 @@
+##############################################################################
+#
+# Copyright (c) 2009 Zope Corporation 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 unittest
+
+
+class ZODBUpgradeTests(unittest.TestCase):
+    pass
+
+
+def test_suite():
+    return unittest.makeSuite(ZODBUpgradeTests)


Property changes on: Sandbox/ctheune/zodbupgrade/src/zodbupgrade/test.py
___________________________________________________________________
Added: svn:eol-style
   + native



More information about the Checkins mailing list