Skip to content

Commit c18f032

Browse files
committed
Added a tox-test command that runs Flask tests with tox
1 parent 2594602 commit c18f032

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dist
77
*.egg
88
*.egg-info
99
_mailinglist
10+
.tox

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ all: clean-pyc test
55
test:
66
python setup.py test
77

8+
tox-test:
9+
PYTHONDONTWRITEBYTECODE= tox
10+
811
ext-test:
912
python tests/flaskext_test.py --browse
1013

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tox]
2+
envlist=py25,py26,py27
3+
4+
[testenv]
5+
commands=make test

0 commit comments

Comments
 (0)