Skip to content

Commit 1be6a15

Browse files
committed
updates tests configuration
force django version to 1.4 to allow 2.6 tests to work properly
1 parent 23e87c9 commit 1be6a15

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ python:
1010

1111
install:
1212
- "pip install -e ."
13-
- "pip install pytest django --use-mirrors"
13+
- "pip install pytest 'django<=1.4' --use-mirrors"
1414

1515

1616
branches:

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ deps = pytest
88

99
commands =
1010
pip install -e {toxinidir}
11-
py.test --junitxml={envlogdir}/junit-{envname}.xml {posargs:test_echo.py}
11+
py.test --junitxml={envlogdir}/junit-{envname}.xml {posargs}
1212

1313
[pytest]
1414
pep8ignore = E128 E302
1515
doc/conf.py ALL
16+
python_files=test_echo.py
1617

1718
addopts =
1819
--tb=short

0 commit comments

Comments
 (0)