This repository has been archived by the owner on Jan 5, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include AUTHORS README.textile MANIFEST.in | ||
include AUTHORS README.creole MANIFEST.in | ||
recursive-include dbpreferences/templates *.html *.css *.js | ||
recursive-exclude * *.pyc | ||
recursive-exclude * *.pyo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# coding: utf-8 | ||
|
||
import os | ||
import sys | ||
|
||
if __name__ == "__main__": | ||
os.environ["DJANGO_SETTINGS_MODULE"] = "dbpreferences.tests.test_settings" | ||
import dbpreferences.tests.test_settings | ||
|
||
from django.conf import settings | ||
from django.test.utils import get_runner | ||
|
||
|
||
def runtests(): | ||
TestRunner = get_runner(settings) | ||
test_runner = TestRunner(verbosity=1, interactive=True) | ||
failures = test_runner.run_tests(['dbpreferences']) | ||
sys.exit(bool(failures)) | ||
|
||
if __name__ == "__main__": | ||
# Run this unittest directly | ||
runtests() |