Main Tests¶
-
class
main.tests.
AnalysisIntroViewTest
(methodName='runTest')¶ Class for testing analysis intro view.
-
setUp
()¶ Setup user, group, IAM, and analysis
-
test_with_intro_view
()¶ Checks that the proper analysis details are returned when visiting the analysis intro view.
-
-
class
main.tests.
AnalysisListViewTest
(methodName='runTest')¶ Class for testing the list view of analyses.
-
setUp
()¶ Setup two groups and analyses
-
test_analysis_list_view
()¶ Check that the the two analyses are displayed correctly.
-
-
class
main.tests.
AnalysisTestCase
(methodName='runTest')¶ Class for testing IAM connected to analyses.
-
setUp
()¶ Setup user, group, IAM, and analysis
-
test_check_iam_with_analysis
()¶ Test the current IAM is the same which is associated with the analysis request.
-
-
class
main.tests.
JobDetailViewTest
(methodName='runTest')¶ Class for testing the job detail view.
-
setUp
()¶ Setup user, group, IAM, and analysis. Login IAM.
-
test_job_detail_view
()¶ Check that detail of a user’s previous analysis are displayed properly.
-
test_no_perms_job_list_view
()¶ Check that detail of a user’s previous analysis is not displayed if the user doesn’t have permission to access to the analysis.
-
-
class
main.tests.
JobListViewTest
(methodName='runTest')¶ Class for testing the job list view.
-
setUp
()¶ Setup user, group, IAM, and analysis. Login IAM.
-
test_job_list_view
()¶ Check that history of user’s analyses are displayed properly.
-
test_no_perms_job_list_view
()¶ Check that history of user’s analyses is not displayed if the user doesn’t have permission to access to the analysis.
-
-
class
main.tests.
ProcessViewTest
(methodName='runTest')¶ Class for testing the process view.
-
setUp
()¶ Setup user, group, IAM, and analysis. Login IAM.
-
test_get_process_view
()¶ Check that getting the process information displays properly.
-
test_no_perms_get_process
()¶ Check that getting the process information does not display if the user does not have permissions for the analysis.
-
test_post_to_process_view
()¶ Check that posting file names returns the proper json response.
-
-
class
main.tests.
ResultViewTest
(methodName='runTest')¶ Class for testing the result view.
-
setUp
()¶ Setup user, group, IAM, and analysis. Login IAM.
-
test_get_results
()¶ Check that detail of a user’s previous analysis are displayed properly.
-
test_post_results
()¶ Check that is able to retrieve files from results and logs folder on s3 and determine if analysis was finished or not.
-
-
class
main.tests.
UserFilesViewTest
(methodName='runTest')¶ Class for testing the user files view.
-
setUp
()¶ Setup user, group, IAM, and analysis. Login IAM.
-
test_get_user_files
()¶ Check that detail of a user’s previous analysis are displayed properly.
-
-
main.
tests
¶ alias of
main.tests