Any opinions on the preference of initializing Test class attributes in setUp() vs. the more traditional __init__()?
I.e. if my tearDown() is:
def tearDown(self):
print self.foo
self.foo needs to be initialized. Typically in python objects, this is
done in __init__(), but given that avocado always runs setUp(), it
could be done at the start of it.
I wonder what the preferred method is.
Cheers,
b.
signature.asc
Description: This is a digitally signed message part
