django-dbfilestorage-old/tests/runtests.py

23 lines
553 B
Python
Raw Normal View History

#!/usr/bin/env python
from __future__ import absolute_import, print_function, unicode_literals
import os
import sys
import nose
def start(argv=None):
sys.exitfunc = lambda: sys.stderr.write("Shutting down...\n")
if argv is None:
argv = [
"nosetests", "--cover-branches", "--with-coverage",
"--cover-erase", "--verbose",
"--cover-package=dbfilestorage",
]
nose.run_exit(argv=argv, defaultTest=os.path.abspath(os.path.dirname(__file__)))
if __name__ == "__main__":
start(sys.argv)