diff options
author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2007-08-29 11:32:14 +0200 |
---|---|---|
committer | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2007-08-29 11:32:14 +0200 |
commit | eaa5bf093756d6872a79f9b7c05e90dc7bafa551 (patch) | |
tree | 3b7b6804b26185929ac82ab2e6d08ba334fe659d /pytest.py | |
parent | dac0e1b119afe6bb24e8de05ec886049d99d8b43 (diff) | |
download | logilab-common-eaa5bf093756d6872a79f9b7c05e90dc7bafa551.tar.gz |
do not crash when django is not installed
Diffstat (limited to 'pytest.py')
-rw-r--r-- | pytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -515,7 +515,7 @@ def run(): cvg = Coverage([rootdir]) cvg.erase() cvg.start() - if options.django: + if DJANGO_FOUND and options.django: tester = DjangoTester(cvg) else: tester = PyTester(cvg) |