Skip to content

Commit 7fed048

Browse files
committed
tests: ensure django-admin is installed
1 parent 8975d1c commit 7fed048

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tox.ini

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ envlist = setup,flake8
44
[testenv]
55
whitelist_externals =
66
find
7+
allowlist_externals =
8+
find
79
deps =
8-
django-nose
9-
mock
10-
cov-core
11-
coverage
12-
requests
10+
django-nose
11+
mock
12+
cov-core
13+
coverage
14+
requests
1315
django
16+
django-admin
1417
djangorestframework
1518
setenv =
1619
DJANGO_SETTINGS_MODULE=tests.settings
17-
PYTHONPATH={toxinidir}/drf_simplepermissions/
20+
PYTHONPATH={toxinidir}/drf_simplepermissions/
1821
commands =
1922
find . -type f -name "*.pyc" -delete
20-
django-admin.py test
23+
django-admin test
2124

2225
[testenv:flake8]
2326
deps = flake8

0 commit comments

Comments
 (0)