Some more cleanups in how the test runner is invoked

This commit is contained in:
Armin Ronacher 2011-08-26 17:35:47 +01:00
parent 367b254c78
commit e509d25d32
2 changed files with 27 additions and 12 deletions

View file

@ -1,6 +1,2 @@
import unittest
from flask.testsuite import BetterLoader
try:
unittest.main(testLoader=BetterLoader(), defaultTest='suite')
except Exception, e:
print 'Error: %s' % e
from flask.testsuite import main
main()