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

CI executes tests different to local machine, refac test

parent 969c9f79
No related branches found
No related tags found
3 merge requests!226Develop,!225Resolve "release v1.2.0",!221Resolve "new test for abstract workflow"
Pipeline #55658 passed
......@@ -46,7 +46,8 @@ class TestWorkflow:
flow.add(B)
flow.add(A)
flow.run()
assert caplog.record_tuples[1] == ('root', 20, "Workflow started")
assert caplog.record_tuples[2] == ('root', 20, "6")
assert caplog.record_tuples[3] == ('root', 20, "2")
assert caplog.record_tuples[4] == ('root', 20, "3")
pos = int(".log" in caplog.messages[0])
assert caplog.record_tuples[0 + pos] == ('root', 20, "Workflow started")
assert caplog.record_tuples[1 + pos] == ('root', 20, "6")
assert caplog.record_tuples[2 + pos] == ('root', 20, "2")
assert caplog.record_tuples[3 + pos] == ('root', 20, "3")
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