FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit ae616f21 authored by L. Bower's avatar L. Bower
Browse files

adding deliberate test failure to test

parent b58b4e20
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......@@ -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)
......
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment