X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2F__main__.py;h=b0598e7dbbff4fa082039b4c41bff1604e8c2506;hb=4436c4f4742b29c1e6eed699d11e05bc9e1f8414;hp=8d88f647376f1d555691c1119b0216399e3c8a29;hpb=903bd9bee55bcc404ae39a94d2625814d5bcc2a3;p=dunshire.git diff --git a/test/__main__.py b/test/__main__.py index 8d88f64..b0598e7 100755 --- a/test/__main__.py +++ b/test/__main__.py @@ -4,9 +4,7 @@ An implementation of __main__() that allows us to "run this module." """ from test import build_suite, run_suite -result = run_suite(build_suite()) - -if result.wasSuccessful(): +if run_suite(build_suite()).wasSuccessful(): exit(0) else: exit(1)