Pārlūkot izejas kodu

fix: reset the job configuration mode after the test

trgiangdo 1 gadu atpakaļ
vecāks
revīzija
25897d2bbc

+ 2 - 0
tests/core/config/checkers/test_job_config_checker.py

@@ -40,6 +40,8 @@ class TestJobConfigChecker:
         expected_error_message = "Job execution mode must be either development, standalone."
         assert expected_error_message in caplog.text
 
+        Config.configure_job_executions(mode=JobConfig._DEVELOPMENT_MODE)
+
     def test_check_standalone_mode(self, caplog):
         Config._collector = IssueCollector()
         Config.check()