uxwizard.tests package¶
Submodules¶
uxwizard.tests.acceptance module¶
-
class
uxwizard.tests.acceptance.
GravityCheckWizardTest
(methodName='runTest')¶ Bases:
django.contrib.staticfiles.testing.StaticLiveServerTestCase
-
classmethod
setUpClass
()¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass
()¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
test_wizard_is_shown_and_then
()¶
-
classmethod
uxwizard.tests.app module¶
uxwizard.tests.models module¶
uxwizard.tests.utils module¶
uxwizard.tests.views module¶
-
class
uxwizard.tests.views.
TestGravityCheckUxwizardForm
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
CLOSING: this is the typical test to be peformed, reference: https://www.valentinog.com/blog/testing-django/ <data> must import fake_data from the js This structuer to be repeated to all 4 cases perhaps with sub-tests perhaps with common init for the repeated response = self.client.get in several defs within a class
I THINK A CLASS IS DEFINED BY A COMMON SET OF INIT-TEST DEFS
Also, adopt ‘reverse’ (www.valentinog.com/ reference) to avoid writing ‘raw’ urls
-
test_server_can_send_hydraulic_data
()¶
-
-
class
uxwizard.tests.views.
TestGravityDesignUxwizardForm
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
test_server_can_send_hydraulic_data
()¶
-
-
class
uxwizard.tests.views.
TestStationCheckUxwizardForm
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
test_server_can_send_hydraulic_data
()¶
-