[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests - testBasicTemplate.py:1.1.2.4

Fred L. Drake, Jr. fdrake@acm.org
Thu, 21 Mar 2002 17:26:15 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv25464/tests

Modified Files:
      Tag: Zope-3x-branch
	testBasicTemplate.py 
Log Message:
More consistency with whitespace around operators.

=== Zope3/lib/python/Zope/PageTemplate/tests/testBasicTemplate.py 1.1.2.3 => 1.1.2.4 ===
       self.t.write(tal)
 
-      aa=util.argv(('one', 'two', 'three', 'cha', 'cha', 'cha'))
-      o=self.t.__get__(aa)()
+      aa = util.argv(('one', 'two', 'three', 'cha', 'cha', 'cha'))
+      o = self.t.__get__(aa)()
       expect = util.read_output('DTML1a.html')
 
       util.check_xml(expect, o)
 
-      aa=util.argv(())
-      o=self.t.__get__(aa)()
+      aa = util.argv(())
+      o = self.t.__get__(aa)()
       expect = util.read_output('DTML1b.html')
       util.check_xml(expect, o)
 
@@ -92,13 +92,13 @@
       tal = util.read_input('DTML3.html')
       self.t.write(tal)
 
-      aa=util.argv(('one', 'two', 'three', 'four', 'five',
-                    'six', 'seven', 'eight', 'nine', 'ten',
-                    'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen',
-                    'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty',
-                    ))
+      aa = util.argv(('one', 'two', 'three', 'four', 'five',
+                      'six', 'seven', 'eight', 'nine', 'ten',
+                      'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen',
+                      'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty',
+                      ))
       from Zope.PageTemplate.tests import batch        
-      o=self.t.__get__(aa)(batch=batch.batch(aa.args, 5))
+      o = self.t.__get__(aa)(batch=batch.batch(aa.args, 5))
 
       expect = util.read_output('DTML3.html')
       util.check_xml(expect, o)
@@ -107,6 +107,5 @@
 def test_suite():
    return unittest.makeSuite(BasicTemplateTests, 'check')
 
-if __name__=='__main__':
+if __name__ == '__main__':
    unittest.TextTestRunner().run(test_suite())
-