FAQ | This is a LIVE service | Changelog

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

survey now looks for STATUS_SUCCESS* to cover STATUS_SUCCESS_WITH_WARNING outcomes

parent 902b16cc
No related branches found
No related tags found
No related merge requests found
import abc
import glob
import os
import unittest
......@@ -25,8 +26,8 @@ class BaseSurveyTestSuite:
def test_standard_run_input_status_success(self):
status_file_path = os.path.join(IntegrationTestUtils.TEST_OUT_PATH,
IntegrationTestUtils.TEST_JOB_DIR, "STATUS_SUCCESS")
success_file_exists: bool = os.path.isfile(status_file_path)
IntegrationTestUtils.TEST_JOB_DIR, "STATUS_SUCCESS*")
success_file_exists: bool = len(glob.glob(status_file_path)) > 0
self.assertTrue(success_file_exists)
......
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