Closed GoogleCodeExporter closed 8 years ago
The problem is that your initialisation method doesn't initialise its parents.
Try this:
class DebugMock(Mock):
mainLogger=None
ThreadAwareLogger=None
def __init__(self):
super(DebugMock, self).__init__()
self.mainLogger=LoggerMock()
self.ThreadAwareLogger=LoggerMock()
Original comment by fuzzyman
on 24 May 2012 at 1:17
Yeah, that's it :-) Thanks.
Feel free to close the issue.
Original comment by Gail.Wyn...@gmail.com
on 24 May 2012 at 2:30
Original comment by fuzzyman
on 24 May 2012 at 2:32
Original issue reported on code.google.com by
Gail.Wyn...@gmail.com
on 24 May 2012 at 12:52