diff --git a/runTests.py b/runTests.py deleted file mode 100755 index fabbb5e767c8f2bed38e1f4227e0e2f92185c347..0000000000000000000000000000000000000000 --- a/runTests.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python3 -import unittest -import os -from src import server - -def setUp(): - server.app.testing = True - -def tearDown(): - os.unlink(server.app.config['SQLITE_DB']) - -if __name__ == '__main__': - setUp() - try: - suite = unittest.defaultTestLoader.discover('./tests/', pattern="*") - unittest.TextTestRunner(verbosity=2, failfast=True).run(suite) - finally: - tearDown() -