Browse Source

add some additional data that the tests depend upon to entr..

ssh-lenovo
John-Mark Gurney 4 years ago
parent
commit
c87cec6203
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -2,7 +2,7 @@ MODULES=vlanmang
VIRTUALENV?=virtualenv-3.7

test:
(ls $(MODULES)/*.py | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')
(ls $(MODULES)/*.py test_data.py test.creds | entr sh -c 'python -m coverage run -m unittest $(basename $(MODULES)) && coverage report --omit=p/\* -m -i')

env:
($(VIRTUALENV) p && . ./p/bin/activate && pip install -r requirements.txt)

Loading…
Cancel
Save