Skip to content
Snippets Groups Projects
Unverified Commit 93ce2d5f authored by Luke Murphy's avatar Luke Murphy
Browse files

Mark certain tests for using phantomjs. Slow!

Also shorten those marker notes.
parent a46983a9
No related branches found
No related tags found
1 merge request!54Upgrade, Remove DYE, Fix up failing tests
from djangojs.runners import QUnitSuite, JsTemplateTestCase
import pytest
@pytest.mark.phantomjs
class ChartJavascriptTest(QUnitSuite, JsTemplateTestCase):
template_name = 'hid/tests/chart.html'
js_files = (
......
......@@ -7,7 +7,10 @@
"""
from djangojs.runners import QUnitSuite, JsTemplateTestCase
import pytest
@pytest.mark.phantomjs
class SelectAllCheckboxTest(QUnitSuite, JsTemplateTestCase):
template_name = 'hid/tests/select_all_checkbox.html'
js_files = (
......
......@@ -3,6 +3,6 @@ addopts = --reuse-db --strict --tb=short
python_files=*test.py *tests.py
norecursedirs = static .ve
markers =
client: marks tests that use the django client (and hence run a bit slow)
integration: marks tests that are integration tests (just for noting)
groupfactory: marks tests that use the group_permissions methods (and hence run a bit slow)
integration: marks tests that are integration tests
groupfactory: marks tests that use the group_permissions methods
phantomjs: marks tests that use phantomjs for testing
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment