Skip to content

Commit

Permalink
improved unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Jun 29, 2017
1 parent 23e9d23 commit 244e89a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ env:
. env/bin/activate && \
python setup.py install

env-dev:
@rm -rf env-dev && \
virtualenv --no-site-packages env-dev && \
. env-dev/bin/activate && \
pip install -r requirements-dev.txt

test1: clean
@echo " ="
@echo " = test1: separate nodejs's env"
Expand Down Expand Up @@ -116,8 +122,8 @@ test8: clean

tests: clean test1 test2 test3 test4 test5 test7 test8 clean

ut:
@. env/bin/activate && tox -e py27
ut: env-dev
@. env-dev/bin/activate && tox -e py27

contributors:
@echo "Nodeenv is written and maintained by Eugene Kalinin." > AUTHORS
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ coverage
flake8
mock
pytest
tox

0 comments on commit 244e89a

Please sign in to comment.