This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients chris.jerdonek, ezio.melotti, michael.foord, piotr.dobrogost
Date 2012-10-26.17:22:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351272151.78.0.533606480373.issue16312@psf.upfronthosting.co.za>
In-reply-to
Content
I would do this with a module level (global) flag as to whether the initial set up has been done and a BaseTestCase class that checks this flag and calls a set up function if it hasn't been done yet (and then sets the flag).
History
Date User Action Args
2012-10-26 17:22:31michael.foordsetrecipients: + michael.foord, ezio.melotti, chris.jerdonek, piotr.dobrogost
2012-10-26 17:22:31michael.foordsetmessageid: <1351272151.78.0.533606480373.issue16312@psf.upfronthosting.co.za>
2012-10-26 17:22:31michael.foordlinkissue16312 messages
2012-10-26 17:22:31michael.foordcreate