Skip to content

Commit

Permalink
add tox and additional dependency for tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdorneles committed Jan 8, 2016
1 parent 0e6a6f6 commit 6d2ab1b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r ../requirements.txt
-r ../validation.txt
pytest>=2.7.0
-r validation.txt
pytest>=2.7.0
Scrapy
1 change: 1 addition & 0 deletions requirements/validation.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
jsonschema==2.4.0
schematics==1.0.4
python-slugify==1.0.2
strict-rfc3339==0.6
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tox]
envlist = py27

[testenv]
deps =
-r{toxinidir}/requirements/tests.txt
.
commands = py.test -s -v {posargs:spidermon tests}

0 comments on commit 6d2ab1b

Please sign in to comment.