correct syntax error
svn: r16438
This commit is contained in:
parent
24959d62f7
commit
ad0e1c0a29
@ -36,15 +36,13 @@ class ErrorReportAssistantTest(TestCaseBase):
|
|||||||
l.info("info message")
|
l.info("info message")
|
||||||
|
|
||||||
error_detail="Test error"
|
error_detail="Test error"
|
||||||
as = _ErrorReportAssistant.ErrorReportAssistant(error_detail=error_detail,
|
ass = _ErrorReportAssistant.ErrorReportAssistant(error_detail=error_detail,
|
||||||
rotate_handler=rh)
|
rotate_handler=rh)
|
||||||
|
|
||||||
assert as._error_detail == error_detail
|
assert ass._error_detail == error_detail
|
||||||
|
|
||||||
l.removeHandler(rh)
|
l.removeHandler(rh)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def testSuite():
|
def testSuite():
|
||||||
suite = unittest.makeSuite(ErrorReportAssistantTest,'test')
|
suite = unittest.makeSuite(ErrorReportAssistantTest,'test')
|
||||||
return suite
|
return suite
|
||||||
|
Loading…
Reference in New Issue
Block a user