Skip to content
Snippets Groups Projects
Commit b6bf6091 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Fix a mistake in the test

parent 4acdad04
No related branches found
No related tags found
1 merge request!1010Refresh the execution during resume_execution to avoid using a detached SqlAlchemy instance
This commit is part of merge request !1010. Comments created here will be created in the context of that merge request.
......@@ -214,6 +214,7 @@ def test_resume_execution(
}
)
fake_execution.capability = capability
mock_capability_info.save_execution(fake_execution)
dummy_execution_manager.queue_execution(fake_execution)
assert fake_execution.queue_state == QueueState.Queued.name
dummy_execution_manager.resume_execution(fake_execution)
......
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