Move tests out of app module

(Directory structure as suggested in
[Django testing docs][1].)

[1]: https://docs.djangoproject.com/en/1.9/topics/testing/advanced/#using-the-django-test-runner-to-test-reusable-applications
This commit is contained in:
medmunds
2016-03-21 11:38:58 -07:00
parent bb8494263f
commit 385d76b53a
17 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ except ImportError:
def runtests(*args):
test_runner = TestRunner(verbosity=1)
test_labels = args if len(args) > 0 else [APP]
test_labels = args if len(args) > 0 else ['tests']
failures = test_runner.run_tests(test_labels)
sys.exit(failures)