Closed txels closed 10 years ago
When I run the tests using tox
I get 3 errors and 2 failures in the python tests.
Am I doing something wrong?
diff --git a/tox.ini b/tox.ini
index 308f304..493c6b1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,13 +2,17 @@
envlist = py27
[testenv]
-deps =
+setenv =
+ CFLAGS=-Qunused-arguments
+ CPPFLAGS=-Qunused-arguments
+deps =
-r{toxinidir}/requirements/dev.txt
-commands =
+commands =
flake8 ployst
jshint ployst
karma start --single-run
- nosetests -s # --with-coverage --cover-package=ployst --cover-html
+ python manage.py test
sphinx-build -b html docs/source docs/build
[flake8]
This is the output I get from tox
after I make the above changes:
Any idea how to remove the jshint/karma warnings?
Nice to see Travis reporting green builds, cheers!
I think this can be merged.
I'll merge once travis confirms life is good
I've been willing to get some front-end testing in for a while. This adds the first JS unit tests and the
karma
test runner is executed as part of the tox build. As a bonus I've also addedjshint
to the build.