[Zope3-checkins] CVS: Zope3/src/zope/app/schemagen/tests - setstatemodule.py.txt:1.1.2.2 setstatemodule_no_history.py.txt:1.1.2.2 test_schemaspec.py:1.1.2.2
R. David Murray
bitz@bitdance.com
Tue, 24 Dec 2002 12:52:21 -0500
Update of /cvs-repository/Zope3/src/zope/app/schemagen/tests
In directory cvs.zope.org:/tmp/cvs-serv16665
Modified Files:
Tag: NameGeddon-branch
setstatemodule.py.txt setstatemodule_no_history.py.txt
test_schemaspec.py
Log Message:
Fix imports in test templates, give two tests that had identical
names different names.
=== Zope3/src/zope/app/schemagen/tests/setstatemodule.py.txt 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/tests/setstatemodule.py.txt:1.1.2.1 Mon Dec 23 14:32:14 2002
+++ Zope3/src/zope/app/schemagen/tests/setstatemodule.py.txt Tue Dec 24 12:52:20 2002
@@ -1,10 +1,10 @@
-from Interface import Interface
-from Persistence import Persistent
-from Zope.Schema.FieldProperty import FieldProperty
+from zope.interface import Interface
+from persistence import Persistent
+from zope.schema.fieldproperty import FieldProperty
# field imports
-from Zope.Schema import Text
-from Zope.App.schemagen import schemaspec
+from zope.schema import Text
+from zope.app.schemagen import schemaspec
class IFoo(Interface):
"""Autogenerated schema."""
=== Zope3/src/zope/app/schemagen/tests/setstatemodule_no_history.py.txt 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/tests/setstatemodule_no_history.py.txt:1.1.2.1 Mon Dec 23 14:32:14 2002
+++ Zope3/src/zope/app/schemagen/tests/setstatemodule_no_history.py.txt Tue Dec 24 12:52:20 2002
@@ -1,6 +1,6 @@
-from Interface import Interface
-from Persistence import Persistent
-from Zope.Schema.FieldProperty import FieldProperty
+from zope.interface import Interface
+from persistence import Persistent
+from zope.schema.fieldproperty import FieldProperty
# field imports
=== Zope3/src/zope/app/schemagen/tests/test_schemaspec.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/tests/test_schemaspec.py:1.1.2.1 Mon Dec 23 14:32:15 2002
+++ Zope3/src/zope/app/schemagen/tests/test_schemaspec.py Tue Dec 24 12:52:20 2002
@@ -200,7 +200,7 @@
f.close()
self.assertEquals(source, s.generateModuleSource())
- def test_generateModuleSource(self):
+ def test_generateModuleSourceNoHistory(self):
s = self.s
# no history, so expect no setstate
f = openInTests('setstatemodule_no_history.py.txt', 'r')