[Zope-Checkins] CVS: Zope/lib/python/Products/ExternalMethod/tests - __init__.py:1.4 testExternalMethod.py:1.5
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 18:14:12 -0400
Update of /cvs-repository/Zope/lib/python/Products/ExternalMethod/tests
In directory cvs.zope.org:/tmp/cvs-serv22198/tests
Modified Files:
__init__.py testExternalMethod.py
Log Message:
Clean up indentation and trailing whitespace.
=== Zope/lib/python/Products/ExternalMethod/tests/__init__.py 1.3 => 1.4 ===
--- Zope/lib/python/Products/ExternalMethod/tests/__init__.py:1.3 Tue Apr 23 09:04:20 2002
+++ Zope/lib/python/Products/ExternalMethod/tests/__init__.py Wed Aug 14 18:14:11 2002
@@ -2,17 +2,16 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
"""
$Id$
"""
-
=== Zope/lib/python/Products/ExternalMethod/tests/testExternalMethod.py 1.4 => 1.5 ===
--- Zope/lib/python/Products/ExternalMethod/tests/testExternalMethod.py:1.4 Tue Apr 23 20:20:15 2002
+++ Zope/lib/python/Products/ExternalMethod/tests/testExternalMethod.py Wed Aug 14 18:14:11 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
"""
@@ -49,15 +49,15 @@
def test_mapply(self):
from ZPublisher.mapply import mapply
-
+
em1 = ExternalMethod('em', 'test method', 'Test', 'testf')
self.assertEqual(mapply(em1, (), {'arg1': 4}), math.sqrt(4))
state = em1.__getstate__()
em2 = ExternalMethod.__basicnew__()
em2.__setstate__(state)
self.assertEqual(mapply(em1, (), {'arg1': 9}), math.sqrt(9))
-
-
+
+
def test_suite():
return TestSuite((