[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/tests - test_add.py:1.12

Fred L. Drake, Jr. fred@zope.com
Thu, 17 Apr 2003 14:00:54 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/form/tests
In directory cvs.zope.org:/tmp/cvs-serv28988

Modified Files:
	test_add.py 
Log Message:
whitespace cleanup


=== Zope3/src/zope/app/browser/form/tests/test_add.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/form/tests/test_add.py:1.11	Mon Apr 14 04:27:15 2003
+++ Zope3/src/zope/app/browser/form/tests/test_add.py	Thu Apr 17 14:00:53 2003
@@ -42,9 +42,8 @@
             # eek, we got a real dotted name
             m = sys.modules[name[:l]]
             return getattr(m, name[l+1:])
-
-
-        return globals()[name]
+        else:
+            return globals()[name]
 
 class I(Interface):
 
@@ -266,7 +265,6 @@
         class Adding:
             __implements__ = IAdding
 
-
         adding = Adding()
         [(descriminator, callable, args, kw)] = self._invoke_add()
         factory = AddViewFactory(*args)
@@ -298,11 +296,9 @@
         V.nextURL = lambda self: 'next'
 
         try:
-
             self.assertEqual(view.update(), '')
 
             self.assertEqual(view.errors, ())
-
 
             self.assertEqual(l[0].extra1, "extra1")
             self.assertEqual(l[0].extra2, "extra2")