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

updated test

parent 96799fc5
No related branches found
No related tags found
6 merge requests!432IOA works now also with xarray and on identical data, IOA is included in...,!431Resolve "release v2.1.0",!430update recent developments,!428Develop,!426Resolve "parallel create latex report",!425Resolve "BUG: on transformation for climate and fir clim mix"
Pipeline #101639 passed
...@@ -46,11 +46,13 @@ class TestPreProcessing: ...@@ -46,11 +46,13 @@ 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[-3] == ('root', 20, PyTestRegex(r'run for \d+:\d+:\d+ \(hh:mm:ss\) to check 5 ' assert caplog.record_tuples[-6] == ('root', 20, PyTestRegex(r'run for \d+:\d+:\d+ \(hh:mm:ss\) to check 5 '
r'station\(s\). Found 5/5 valid stations.')) r'station\(s\). Found 5/5 valid stations.'))
assert caplog.record_tuples[-5] == ('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[-3] == ('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[-2] == ('root', 20, "Searching for competitors to be prepared for use.")
assert caplog.record_tuples[-1] == ( assert caplog.record_tuples[-1] == ('root', 20, "No preparation required because no competitor was provided"
'root', 20, "No preparation required because no competitor was provided "
" to the workflow.") " to the workflow.")
RunEnvironment().__del__() RunEnvironment().__del__()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment