diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f320ae88361d233649d062c25eaee3ea678334a..3fefa067909052d4608f5af131fcbc7865ac4b63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,10 +80,10 @@ half_fat_tests: script: - cd $CI_PROJECT_DIR/tests/integration/partial/ # - python3 -m coverage run run_test_suite.py $CI_PROJECT_DIR/test_reports - - python3 -m coverage run -m unittest test_advisory.py +# - python3 -m coverage run -m unittest test_advisory.py - python3 -m coverage run -m unittest test_deposition.py - - python3 -m coverage run -m unittest test_env_suit.py - - python3 -m coverage run -m unittest test_survey.py +# - python3 -m coverage run -m unittest test_env_suit.py +# - python3 -m coverage run -m unittest test_survey.py - python3 -m coverage report - python3 -m coverage html -d $CI_PROJECT_DIR/coverage # - ls diff --git a/tests/integration/full/full_test_epi.py b/tests/integration/full/full_test_epi.py index f6077a986698979d134ce8975bd7d3959283acf4..0187148d34fee3bba21bda1367f1c7b2888c3247 100644 --- a/tests/integration/full/full_test_epi.py +++ b/tests/integration/full/full_test_epi.py @@ -83,7 +83,6 @@ class FullTestEpi(BaseEpiTestSuite.EpiTestSuite): if __name__ == '__main__': - IntegrationTestUtils.run_fill_integration_test_pipeline(FullTestEpi, test_prefix = "epi", processor_dir = BaseEpiTestSuite.EpiTestSuite.EPI_PROCESSOR_DIR) diff --git a/tests/integration/full/full_test_survey.py b/tests/integration/full/full_test_survey.py index 088fbfcdd0d42a171bec67403005c94c3638c2cb..63c1de361ee12d12fcdab981989b3c16bd1a60cd 100644 --- a/tests/integration/full/full_test_survey.py +++ b/tests/integration/full/full_test_survey.py @@ -51,38 +51,6 @@ class FullTestSurvey(BaseSurveyTestSuite.SurveyTestSuite): if __name__ == '__main__': - - # _parser = IntegrationTestUtils.build_arg_parser() - # - # _args = _parser.parse_args() - # _config_file: str = _args.config - # _outdir: str = _args.outdir - # _email_cred_path: str = _args.email_cred - # _test_report_dir: str = _args.test_report_dir - # _run_date_type: str = _args.run_date_type - # _custom_run_date: str = _args.custom_run_date - # - # IntegrationTestUtils.DEFAULT_CONFIG_FILE_PATH = _config_file - # - # nowstring: str = IntegrationTestUtils.get_now_string() - # prefix: str = "temp_survey_" + nowstring - # # prefix: str = "temp_survey" - # BaseSurveyTestSuite.SurveyTestSuite.TEST_OUT_PATH = _outdir + prefix + os.sep - # IntegrationTestUtils.EMAIL_CRED_PATH = _email_cred_path - # - # BaseSurveyTestSuite.SurveyTestSuite.TEST_START_DATE = IntegrationTestUtils.generate_run_date(_run_date_type, _custom_run_date) - # - # BaseSurveyTestSuite.SurveyTestSuite.TEST_JOB_DIR = "SURVEY_" + BaseSurveyTestSuite.SurveyTestSuite.TEST_START_DATE - # - # # Now set the sys.argv to the unittest_args (leaving sys.argv[0] alone) - # sys.argv[1:] = _args.unittest_args - # tests: TestSuite = TestLoader().loadTestsFromTestCase(FullTestSurvey) - # - # if _test_report_dir is None: - # _test_report_dir = BaseSurveyTestSuite.SurveyTestSuite.TEST_JOB_DIR - # - # runner = HTMLTestRunner(output=_test_report_dir, combine_reports = True) - # runner.run(tests) IntegrationTestUtils.run_fill_integration_test_pipeline(FullTestSurvey, test_prefix = "survey", processor_dir = BaseSurveyTestSuite.SurveyTestSuite.SURVEY_PROCESSOR_DIR) diff --git a/tests/integration/test_suites/depo_test_suite.py b/tests/integration/test_suites/depo_test_suite.py index 15f88ea5994fbe13901254faff5e141781ceabca..ab1d5d1574ead4e5545f78d6f97b8cfc4d1651db 100644 --- a/tests/integration/test_suites/depo_test_suite.py +++ b/tests/integration/test_suites/depo_test_suite.py @@ -34,7 +34,7 @@ class BaseDepoTestSuite: IntegrationTestUtils.TEST_JOB_DIR, "STATUS_SUCCESS") success_file_exists: bool = os.path.isfile(status_file_path) - self.assertTrue(success_file_exists) + self.assertTrue(False) def test_standard_run_input_all_regions_ran(self):