tardis.apps.publication_workflow.tests package¶
Submodules¶
tardis.apps.publication_workflow.tests.test_email_templates module¶
tardis.apps.publication_workflow.tests.test_form module¶
Tests relating to publication form
-
class
tardis.apps.publication_workflow.tests.test_form.
PublicationFormTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_create_draft_publication
()¶ Test creating draft publication
-
test_fetch_experiments_and_datasets
()¶ Test fetching experiments and datasets for publication form
-
test_resume_draft_publication
()¶ Test resuming draft publication
-
test_submit_form
()¶ Test submitting publication form
-
test_update_dataset_selection
()¶ Test updating dataset selection in publication form
-
test_update_extra_info
()¶ Test updating extra info in publication form
-
tardis.apps.publication_workflow.tests.test_my_publications module¶
Tests relating to My Publications view
-
class
tardis.apps.publication_workflow.tests.test_my_publications.
MyPublicationsTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_retrieve_draft_pubs_list
()¶ Test retrieving list of draft publications
-
test_retrieve_released_pubs_list
()¶ Test retrieving list of released publications
-
test_retrieve_retracted_pubs_list
()¶ Test retrieving list of retracted publications
-
test_retrieve_scheduled_pubs_list
()¶ Test retrieving list of scheduled publications
-
tardis.apps.publication_workflow.tests.test_revert_finalize module¶
Tests relating to reverting a publication to a draft and finalizing a publication
-
class
tardis.apps.publication_workflow.tests.test_revert_finalize.
RevertFinalizeTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_finalize_publication
()¶ Test finalizing a publication
-
test_revert_publication_to_draft
()¶ Test reverting a publication to a draft
-
tardis.apps.publication_workflow.tests.test_tokens module¶
Tests relating to tokens (temporary links) used by My Publications view
-
class
tardis.apps.publication_workflow.tests.test_tokens.
PublicationTokensTestCase
(methodName='runTest')¶ Bases:
django.test.testcases.TestCase
-
setUp
()¶ Hook method for setting up the test fixture before exercising it.
-
test_create_token
()¶ Test creating a temporary link for a draft publications
-
test_delete_token
()¶ Test deleting a temporary link for a draft publications
-
test_retrieve_access_list_tokens_json
()¶ Test retrieving a JSON list of tokens
-