Split up testsuite and moved it to flask.testsuite. This fixes #246

This commit is contained in:
Armin Ronacher 2011-08-26 11:21:26 +01:00
parent 85ed1bf058
commit 4cb6eea8f1
42 changed files with 2575 additions and 2336 deletions

View file

@ -77,12 +77,6 @@ class run_audit(Command):
else:
print ("No problems found in sourcecode.")
def run_tests():
import os, sys
sys.path.append(os.path.join(os.path.dirname(__file__), 'tests'))
from flask_tests import suite
return suite()
setup(
name='Flask',
@ -112,5 +106,5 @@ setup(
'Topic :: Software Development :: Libraries :: Python Modules'
],
cmdclass={'audit': run_audit},
test_suite='__main__.run_tests'
test_suite='flask.testsuite.suite'
)