Skip to content

Commit

Permalink
remove unused runtests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinwahl authored and acatton committed Apr 7, 2015
1 parent 9303707 commit 084db1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 122 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
JS_FILES?=`find ./js_tests/tests -type f -name '*.js'`
DJANGO_SETTINGS_MODULE?=tests.settings_contrib

test: test-py test-js

test-py:
cd tests && $(COVERAGE_COMMAND) ./runtests.py --verbosity=2 $(TESTS)
DJANGO_SETTINGS_MODULE=$(DJANGO_SETTINGS_MODULE) py.test $(PYTEST_OPTIONS)

coverage:
+make test-py COVERAGE_COMMAND='coverage run --source=widgy'
cd tests && coverage html --omit='../widgy/migrations/*,../widgy/contrib/*/migrations/*'
+make test-py PYTEST_OPTIONS='--cov widgy'
coverage html --omit='widgy/*migrations/*,widgy/contrib/*/*migrations/*,'

browser: coverage
sensible-browser tests/coverage_html/index.html
sensible-browser ./htmlcov/index.html

js_tests/node_modules: js_tests/package.json
cd js_tests && npm install .
Expand Down
118 changes: 0 additions & 118 deletions tests/runtests.py

This file was deleted.

0 comments on commit 084db1a

Please sign in to comment.