[Zope3-checkins] CVS: Zope3/src/zodb/code/tests - tobeimportedbyatestmodule.py:1.1.2.1 atestmodule.py:1.6.26.2

Jim Fulton jim at zope.com
Sun Feb 1 10:07:04 EST 2004


Update of /cvs-repository/Zope3/src/zodb/code/tests
In directory cvs.zope.org:/tmp/cvs-serv1243/src/zodb/code/tests

Modified Files:
      Tag: zope3-zodb3-devel-branch
	atestmodule.py 
Added Files:
      Tag: zope3-zodb3-devel-branch
	tobeimportedbyatestmodule.py 
Log Message:
Changed atestmodule to import tobeimportedbyatestmodule rather than
test_class, to reduce weird interdependencies among test modules.


=== Added File Zope3/src/zodb/code/tests/tobeimportedbyatestmodule.py ===
##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################
"""This module exists soley to e imported by atestmodule

$Id: tobeimportedbyatestmodule.py,v 1.1.2.1 2004/02/01 15:07:02 jim Exp $
"""

x = 1

class C:
    pass


=== Zope3/src/zodb/code/tests/atestmodule.py 1.6.26.1 => 1.6.26.2 ===
--- Zope3/src/zodb/code/tests/atestmodule.py:1.6.26.1	Fri Jan 16 10:43:30 2004
+++ Zope3/src/zodb/code/tests/atestmodule.py	Sun Feb  1 10:07:02 2004
@@ -49,5 +49,5 @@
 
 
 # import a module that won't be imported by something else:
-from zodb.code.tests import test_class
+from zodb.code.tests import tobeimportedbyatestmodule
 




More information about the Zope3-Checkins mailing list