[Zope3-checkins] CVS: Zope3/src/zope/app/schemagen/tests - test_modulegen.py:1.1.2.2 test_typereg.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:46 -0500
Update of /cvs-repository/Zope3/src/zope/app/schemagen/tests
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/schemagen/tests
Modified Files:
Tag: NameGeddon-branch
test_modulegen.py test_typereg.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/schemagen/tests/test_modulegen.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/tests/test_modulegen.py:1.1.2.1 Mon Dec 23 14:32:14 2002
+++ Zope3/src/zope/app/schemagen/tests/test_modulegen.py Tue Dec 24 07:51:15 2002
@@ -95,8 +95,8 @@
def test_extraImports(self):
# we import ourselves, as then there's no dependencies
- from Zope.App.schemagen.tests import test_modulegen
- extra_imports = "from Zope.App.schemagen.tests import test_modulegen"
+ from zope.app.schemagen.tests import test_modulegen
+ extra_imports = "from zope.app.schemagen.tests import test_modulegen"
source = generateModuleSource('IFoo', self.fields, "Foo",
extra_imports=extra_imports)
g = {}
=== Zope3/src/zope/app/schemagen/tests/test_typereg.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/schemagen/tests/test_typereg.py:1.1.2.1 Mon Dec 23 14:32:15 2002
+++ Zope3/src/zope/app/schemagen/tests/test_typereg.py Tue Dec 24 07:51:15 2002
@@ -145,13 +145,13 @@
schema_fields = [
(Schema.Text(title=u"text"),
- [('Zope.Schema', 'Text')]),
+ [('zope.schema', 'Text')]),
(Schema.Int(title=u"int"),
- [('Zope.Schema', 'Int')]),
+ [('zope.schema', 'Int')]),
(Schema.TextLine(title=u"text"),
- [('Zope.Schema', 'TextLine')]),
+ [('zope.schema', 'TextLine')]),
(Schema.Float(title=u"float"),
- [('Zope.Schema', 'Float')])
+ [('zope.schema', 'Float')])
]
def test_field(self):