X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2F__main__.py;h=b0598e7dbbff4fa082039b4c41bff1604e8c2506;hb=f5b5ef66e41ae0538eb32e4b8420c36a23b95361;hp=26dfc57a8d4eb877d1e533707ee0aff7f99a0bb9;hpb=a3b56774ac44ee53bdce648e57976b97bff2ba13;p=dunshire.git diff --git a/test/__main__.py b/test/__main__.py old mode 100644 new mode 100755 index 26dfc57..b0598e7 --- a/test/__main__.py +++ b/test/__main__.py @@ -1,11 +1,10 @@ +#!/usr/bin/env python """ 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)