Skip to content
Snippets Groups Projects
Commit fe6d1796 authored by leufen1's avatar leufen1
Browse files

update indices in caplog tests

parent cb5ebf89
No related branches found
No related tags found
3 merge requests!500Develop,!499Resolve "release v2.3.0",!486Resolve "enable persi only if requested"
Pipeline #112149 passed
...@@ -45,14 +45,16 @@ class TestPreProcessing: ...@@ -45,14 +45,16 @@ class TestPreProcessing:
with PreProcessing(): with PreProcessing():
assert caplog.record_tuples[0] == ('root', 20, 'PreProcessing started') assert caplog.record_tuples[0] == ('root', 20, 'PreProcessing started')
assert caplog.record_tuples[1] == ('root', 20, 'check valid stations started (preprocessing)') assert caplog.record_tuples[1] == ('root', 20, 'check valid stations started (preprocessing)')
assert caplog.record_tuples[-6] == ('root', 20, PyTestRegex(r'run for \d+:\d+:\d+ \(hh:mm:ss\) to check 3 ' assert caplog.record_tuples[-7] == ('root', 20, PyTestRegex(r'run for \d+:\d+:\d+ \(hh:mm:ss\) to check 3 '
r'station\(s\). Found 3/3 valid stations.')) r'station\(s\). Found 3/3 valid stations.'))
assert caplog.record_tuples[-5] == ('root', 20, "use serial create_info_df (train)") assert caplog.record_tuples[-6] == ('root', 20, "use serial create_info_df (train)")
assert caplog.record_tuples[-4] == ('root', 20, "use serial create_info_df (val)") assert caplog.record_tuples[-5] == ('root', 20, "use serial create_info_df (val)")
assert caplog.record_tuples[-3] == ('root', 20, "use serial create_info_df (test)") assert caplog.record_tuples[-4] == ('root', 20, "use serial create_info_df (test)")
assert caplog.record_tuples[-2] == ('root', 20, "Searching for competitors to be prepared for use.") assert caplog.record_tuples[-3] == ('root', 20, "Searching for competitors to be prepared for use.")
assert caplog.record_tuples[-1] == ('root', 20, "No preparation required for competitor ols as no specific " assert caplog.record_tuples[-2] == ('root', 20, "No preparation required for competitor ols as no specific "
"instruction is provided.") "instruction is provided.")
assert caplog.record_tuples[-1] == ('root', 20, "No preparation required for competitor persi as no "
"specific instruction is provided.")
RunEnvironment().__del__() RunEnvironment().__del__()
def test_run(self, obj_with_exp_setup): def test_run(self, obj_with_exp_setup):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment