summaryrefslogtreecommitdiff
path: root/tests/test_django.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-08-14 17:56:08 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-08-14 17:56:08 +0200
commit1c24da23aea44e9f0be44c69d8650f63f0e7a841 (patch)
treefa905905dd062f4bf08132208e58bba3d64fa930 /tests/test_django.py
parent7e7abf17dd7459bd14ab3bd09720c22ccb86b42a (diff)
downloadfactory-boy-1c24da23aea44e9f0be44c69d8650f63f0e7a841.tar
factory-boy-1c24da23aea44e9f0be44c69d8650f63f0e7a841.tar.gz
More fixes to testsv2.1.2
Diffstat (limited to 'tests/test_django.py')
-rw-r--r--tests/test_django.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_django.py b/tests/test_django.py
index 5335a94..9d02131 100644
--- a/tests/test_django.py
+++ b/tests/test_django.py
@@ -74,7 +74,7 @@ test_state = {}
def setUpModule():
if django is None: # pragma: no cover
- return
+ raise unittest.SkipTest("Django not installed")
django_test_utils.setup_test_environment()
runner = django_test_simple.DjangoTestSuiteRunner()
runner_state = runner.setup_databases()