Skip to content
Snippets Groups Projects
Commit dfce7678 authored by Julian's avatar Julian
Browse files

removed old/unused runTests.py

parent 8899e9ec
No related branches found
No related tags found
No related merge requests found
#!/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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment