[Avocado-devel] calling self.fail() in setUp() == ERROR result?

Brian J. Murrell brian at interlinx.bc.ca
Wed Sep 11 13:38:24 UTC 2019


If I call self.fail() in a test_* method, the test reports FAIL as I
would expect.

If I call self.fail() from setUp() (or presumably tearDown()) the test
reports ERROR.

Is this intended behaviour?  Am I not able to have a test report FAIL
from setUp() or tearDown()?

Cheers,
b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20190911/527dc9bd/attachment.sig>


More information about the Avocado-devel mailing list