[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests - test_fsdirective.py:1.2
Jim Fulton
jim@zope.com
Mon, 28 Jul 2003 18:21:40 -0400
Update of /cvs-repository/Zope3/src/zope/app/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv30377/src/zope/app/fssync/tests
Modified Files:
test_fsdirective.py
Log Message:
Don't need to escape Python keywords in meta configuration directives.
=== Zope3/src/zope/app/fssync/tests/test_fsdirective.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/fssync/tests/test_fsdirective.py:1.1 Thu May 8 12:56:12 2003
+++ Zope3/src/zope/app/fssync/tests/test_fsdirective.py Mon Jul 28 18:21:36 2003
@@ -59,7 +59,7 @@
xmlconfig(StringIO(template % (
"""
<fssync:adapter
- class_="zope.app.fssync.tests.sampleclass.C2"
+ class="zope.app.fssync.tests.sampleclass.C2"
factory="zope.app.fssync.tests.sampleclass.CDirAdapter"
/>
"""
@@ -82,7 +82,7 @@
xmlconfig(StringIO(template % (
"""
<fssync:adapter
- class_="zope.app.fssync.tests.sampleclass.C1"
+ class="zope.app.fssync.tests.sampleclass.C1"
factory="zope.app.fssync.tests.sampleclass.CDirAdapter"
/>
"""
@@ -91,7 +91,7 @@
self.assertRaises(DuplicationError, xmlconfig, StringIO(template % (
"""
<fssync:adapter
- class_="zope.app.fssync.tests.sampleclass.C1"
+ class="zope.app.fssync.tests.sampleclass.C1"
factory="zope.app.fssync.tests.sampleclass.CFileAdapter"
/>
"""