[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore/tests - test_zdcannotatableadapter.py:1.1.2.2 test_zopedublincore.py:1.1.2.3
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:27 -0500
Update of /cvs-repository/Zope3/src/zope/app/dublincore/tests
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/dublincore/tests
Modified Files:
Tag: NameGeddon-branch
test_zdcannotatableadapter.py test_zopedublincore.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/app/dublincore/tests/test_zdcannotatableadapter.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/dublincore/tests/test_zdcannotatableadapter.py:1.1.2.1 Mon Dec 23 14:31:33 2002
+++ Zope3/src/zope/app/dublincore/tests/test_zdcannotatableadapter.py Tue Dec 24 21:20:26 2002
@@ -25,7 +25,7 @@
class TestAnnotations(dict):
__implements__ = IAnnotations
-
+
class Test(PlacelessSetup, TestCase):
@@ -42,12 +42,12 @@
self.failIf(annotations, "There shouldn't be any data yet")
dc.title = u"Test title"
self.failUnless(annotations, "There should be data now!")
-
+
dc = ZDCAnnotatableAdapter(annotations)
self.assertEqual(dc.title, u'Test title')
-
-
-
+
+
+
def test_suite():
return TestSuite((
=== Zope3/src/zope/app/dublincore/tests/test_zopedublincore.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/dublincore/tests/test_zopedublincore.py:1.1.2.2 Mon Dec 23 16:05:59 2002
+++ Zope3/src/zope/app/dublincore/tests/test_zopedublincore.py Tue Dec 24 21:20:26 2002
@@ -58,7 +58,7 @@
for name in ('Sources', 'Relations', 'Coverages'):
self.__testQualified(name)
-
+
def testScalars(self):
for qname, mname, pname in (
('Titles', 'Title', 'title'),
@@ -87,12 +87,12 @@
(u'foo\u1111', u'bleep bleep'),
]
)
-
+
def testSequences(self):
for qname, mname, pname in (
- ('Creators', 'Creator', 'creators'),
- ('Subjects', 'Subject', 'subjects'),
- ('Contributors', 'Contributors', 'contributors'),
+ ('Creators', 'Creator', 'creators'),
+ ('Subjects', 'Subject', 'subjects'),
+ ('Contributors', 'Contributors', 'contributors'),
):
self.__testQualified(qname, [
(u'', u'foo'),
@@ -194,7 +194,7 @@
modified = dc.ModificationDate()
self.assertEqual(parseDatetimetz(modified), dt)
-
+
def test_suite():
return TestSuite((