File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ test-style: setup-venv
7878 shellcheck $(SHELL_SCRIPTS )
7979
8080test-unit : setup-venv test-style
81- venv/bin/coverage run manage.py test --noinput api
81+ venv/bin/coverage run manage.py test --noinput web api
8282 venv/bin/coverage report -m
8383
8484test-functional :
Original file line number Diff line number Diff line change 66
77from __future__ import unicode_literals
88
9+ from django .conf import settings
910from django .template import Context
1011from django .template import Template
1112from django .template import TemplateSyntaxError
@@ -16,6 +17,10 @@ class WebViewsTest(TestCase):
1617
1718 fixtures = ['test_web.json' ]
1819
20+ @classmethod
21+ def setUpClass (cls ):
22+ settings .WEB_ENABLED = True
23+
1924 def setUp (self ):
2025 self .client .login (username = 'autotest-1' , password = 'password' )
2126
You can’t perform that action at this time.
0 commit comments