Author awaltman
Recipients awaltman
Date 2009-12-10.02:20:53
SpamBayes Score 2.68028e-08
Marked as misclassified No
Message-id <>
Not sure if this is intended behavior.  I have a baseClass I'm writing
tests for.  My test architecture has an instance of this baseClass
assigned as a member of TestBaseClass(unittest.TestCase) in

The problem occurs when tests in TestBaseClass modify state within the
member baseClass instance.  I think there should be a fresh new instance
of baseClass for every test that gets run, but the old state from the
last test is still there.

Example code and output from Python 2.6.2 attached.
Date User Action Args
2009-12-10 02:20:56awaltmansetrecipients: + awaltman
2009-12-10 02:20:56awaltmansetmessageid: <>
2009-12-10 02:20:55awaltmanlinkissue7465 messages
2009-12-10 02:20:54awaltmancreate