Skip to content

Commit

Permalink
setup test
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Nov 20, 2014
1 parent d435ce5 commit 08b1e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ def run_tests():
sys.exit(failures)


if __name__ == "__main__":
def start():
django.setup()
log_warnings()
run_tests()


if __name__ == "__main__":
start()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
long_description=README,
url='http://spirit-project.com/',
packages=find_packages(exclude=['example', ]),
test_suite="run_tests.run_tests",
test_suite="run_tests.start",
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
Expand Down

0 comments on commit 08b1e36

Please sign in to comment.