summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cheetah/CheetahWrapper.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cheetah/CheetahWrapper.py b/cheetah/CheetahWrapper.py
index 6203e0b..77a5696 100644
--- a/cheetah/CheetahWrapper.py
+++ b/cheetah/CheetahWrapper.py
@@ -232,7 +232,7 @@ Files are %s""", args, pprint.pformat(vars(opts)), files)
def fill(self):
from Cheetah.ImportHooks import install
- install()
+ install()
self._compileOrFill()
def help(self):
@@ -264,12 +264,13 @@ you do have write permission to and re-run the tests.""")
verbosity = 2
runner = unittest.TextTestRunner(verbosity=verbosity)
runner.run(unittest.TestSuite(Test.suites))
-
+ results = runner.run(unittest.TestSuite(Test.suites))
+ exit(int(not results.wasSuccessful()))
+
def version(self):
print(Version)
# If you add a command, also add it to the 'meths' variable in main().
-
##################################################
## LOGGING METHODS