django-dbfilestorage/tests/runtests.py
2016-12-07 22:50:48 -05:00

23 lines
553 B
Python

#!/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)