[z3-five] Re: r10895 -
z3/Five/branch/philikon-restructuring/form/tests
Tres Seaver
tseaver at zope.com
Wed Apr 20 02:58:34 CEST 2005
philikon at codespeak.net wrote:
> Author: philikon
> Date: Wed Apr 20 00:51:32 2005
> New Revision: 10895
>
> Modified:
> z3/Five/branch/philikon-restructuring/form/tests/test_editform.py
> Log:
> removing boilerplate
>
>
> Modified: z3/Five/branch/philikon-restructuring/form/tests/test_editform.py
> ==============================================================================
> --- z3/Five/branch/philikon-restructuring/form/tests/test_editform.py (original)
> +++ z3/Five/branch/philikon-restructuring/form/tests/test_editform.py Wed Apr 20 00:51:32 2005
> @@ -81,11 +81,5 @@
> basic='manager:r00t')
> self.assertEquals(200, response.getStatus())
>
> -def test_suite():
> - from unittest import TestSuite, makeSuite
> - suite = TestSuite()
> - suite.addTest(makeSuite(EditFormTest))
> - return suite
> -
> if __name__ == '__main__':
> framework()
Phillip,
I don't know that the 'test_suite' is cruft for Zope2 based stuff (at
least I've had to add it back to something recently). Does the
following still work for you, running from a Zope2 instance where you
have Five stitched in?
$ bin/zopectl test --dir Products/Five
Tres.
More information about the z3-five
mailing list