File tree 2 files changed +14
-9
lines changed
2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
- from __future__ import absolute_import
2
-
3
- from .test_admin import *
4
- from .test_models import *
5
- from .test_templatetags import *
6
- from .test_views import *
1
+ from faq .tests .test_admin import *
2
+ from faq .tests .test_models import *
3
+ from faq .tests .test_templatetags import *
4
+ from faq .tests .test_views import *
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
downloadcache = .tox/_download/
3
- envlist = py26
3
+ envlist = py25, py26, py27
4
4
5
5
[testenv]
6
+ deps =
7
+ mock
8
+ commands =
9
+ {envpython} setup.py test
10
+
11
+ # There's no need to measure coverage on each different pyversion (I think!)
12
+ # so only do it for 2.7 (chosen arbitrarily).
13
+ [testenv:py27]
6
14
deps =
7
15
coverage
8
16
mock
9
17
commands =
10
18
coverage run --branch --source =faq setup.py test
11
19
coverage report --omit =faq/_testrunner.py,faq/tests/*
12
- coverage html --omit =faq/_testrunner.py,faq/tests/* -d htmlcov/{envname}
13
-
20
+ coverage html --omit =faq/_testrunner.py,faq/tests/* -d htmlcov/
You can’t perform that action at this time.
0 commit comments