What's the matter with this code section?

Simon Brunning simon.brunning at gmail.com
Wed Aug 24 05:29:37 EDT 2005


On 24 Aug 2005 00:18:00 -0700, Johnny Lee <johnnyandfiona at hotmail.com> wrote:
> AttributeError: WasRun instance has no attribute 'wasSetUp'

It means exactly what it says. The last line of your TestCaseTest
classes testSetUp method refers to test.wasSetUp. So far as I can see,
test is an instance of your WasRun class, and I don't see a wasSetUp
attribute being set anywhere.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list