[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests - test_interfaceservice.py:1.6
Jeremy Hylton
jeremy@zope.com
Sun, 22 Jun 2003 14:58:50 -0400
Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv6600/src/zope/app/component/tests
Modified Files:
test_interfaceservice.py
Log Message:
Clean up.
=== Zope3/src/zope/app/component/tests/test_interfaceservice.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/component/tests/test_interfaceservice.py:1.5 Tue May 13 13:08:34 2003
+++ Zope3/src/zope/app/component/tests/test_interfaceservice.py Sun Jun 22 14:58:50 2003
@@ -84,15 +84,7 @@
self.assertEqual(r, [I2, I3])
def test_suite():
- return TestSuite((makeSuite(Test),))
-
-if __name__=='__main__':
- main(defaultTest='test_suite')
- self.assertEqual(list(service.searchInterface('two')), [I3])
-
-
-def test_suite():
- return TestSuite((makeSuite(Test),))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')