[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser/tests - WidgetTest.py:1.2 testBrowserWidget.py:1.2 testCheckBoxWidget.py:1.2 testFileWidget.py:1.2 testFormView.py:1.8 testListWidget.py:1.2 testMultiCheckboxWidget.py:1.2 testMultiListWidget.py:1.2 testPasswordWidget.py:1.2 testRadioWidget.py:1.2 testTextAreaWidget.py:1.2 testTextWidget.py:1.2
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:46 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/Forms/Views/Browser/tests
Modified Files:
WidgetTest.py testBrowserWidget.py testCheckBoxWidget.py
testFileWidget.py testFormView.py testListWidget.py
testMultiCheckboxWidget.py testMultiListWidget.py
testPasswordWidget.py testRadioWidget.py testTextAreaWidget.py
testTextWidget.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/WidgetTest.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(TextWidgetTest),
- ))
+ return makeSuite(TextWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testBrowserWidget.py 1.1 => 1.2 ===
def test_suite():
- return unittest.TestSuite((
- unittest.makeSuite(BrowserWidgetTest),
- ))
+ return unittest.makeSuite(BrowserWidgetTest)
if __name__ == '__main__':
unittest.main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testCheckBoxWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(CheckBoxWidgetTest),
- ))
+ return makeSuite(CheckBoxWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testFileWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(FileWidgetTest),
- ))
+ return makeSuite(FileWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testFormView.py 1.7 => 1.8 ===
def test_suite():
- return TestSuite((
- makeSuite(TestFormView),
- ))
+ return makeSuite(TestFormView)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testListWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(ListWidgetTest),
- ))
+ return makeSuite(ListWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testMultiCheckboxWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(MultiCheckBoxWidgetTest),
- ))
+ return makeSuite(MultiCheckBoxWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testMultiListWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(MultiListWidgetTest),
- ))
+ return makeSuite(MultiListWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testPasswordWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(PasswordWidgetTest),
- ))
+ return makeSuite(PasswordWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testRadioWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(RadioWidgetTest),
- ))
+ return makeSuite(RadioWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testTextAreaWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(TextAreaWidgetTest),
- ))
+ return makeSuite(TextAreaWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/tests/testTextWidget.py 1.1 => 1.2 ===
def test_suite():
- return TestSuite((
- makeSuite(TextWidgetTest),
- ))
+ return makeSuite(TextWidgetTest)
if __name__=='__main__':
main(defaultTest='test_suite')