tardis.tardis_portal.tests.views package¶
Submodules¶
tardis.tardis_portal.tests.views.test_auth_views module¶
test_auth_views.py
Tests for view methods relating to users, groups, access controls and authorization
-
class
tardis.tardis_portal.tests.views.test_auth_views.
ManageAccountTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
test_manage_account
(mock_webpack_get_bundle)¶
-
-
class
tardis.tardis_portal.tests.views.test_auth_views.
RightsTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
test_rights_require_valid_owner
()¶
-
-
class
tardis.tardis_portal.tests.views.test_auth_views.
UserGroupListsTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_get_group_list
()¶
-
test_get_user_list
()¶
-
-
class
tardis.tardis_portal.tests.views.test_auth_views.
UserListTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
User lists are used for autocompleting the user-to-share-with field when granting access to an experiment
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_get_user_list
()¶
-
tardis.tardis_portal.tests.views.test_contextual_views module¶
test_contextual_views.py
Tests for view methods supplying context data to templates
-
class
tardis.tardis_portal.tests.views.test_contextual_views.
ContextualViewTest
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ setting up essential objects, copied from tests above
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_details_display
()¶ test display of view for an existing schema and no display for an undefined one.
-
tardis.tardis_portal.tests.views.test_experiment_views module¶
test_experiment_views.py
Tests for view methods relating to experiments
tardis.tardis_portal.tests.views.test_template_contexts module¶
test_template_contexts.py
Tests for view methods supplying context data to templates
-
class
tardis.tardis_portal.tests.views.test_template_contexts.
ExperimentListsTest
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ setting up essential objects, copied from tests above
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_mydata_view
(mock_webpack_get_bundle)¶ Test My Data view
Test Shared view
-
-
class
tardis.tardis_portal.tests.views.test_template_contexts.
ViewTemplateContextsTest
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ setting up essential objects, copied from tests above
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_dataset_view
(mock_webpack_get_bundle)¶ test some context parameters for a dataset view
-
test_experiment_view
(mock_webpack_get_bundle)¶ test some template context parameters for an experiment view
-
tardis.tardis_portal.tests.views.test_upload_views module¶
test_upload_views.py
Tests for view methods relating to uploads
-
class
tardis.tardis_portal.tests.views.test_upload_views.
UploadTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
tearDown
()¶ Hook method for deconstructing the test fixture after testing it.
-
test_file_upload
()¶
-
test_upload_complete
()¶
-
Module contents¶
Tests for view methods in tardis/tardis_portal/views/