Update api/tests/unit_tests/repositories/workflow_node_execution/test_sqlalchemy_repository.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/19430/head
-LAN- 1 year ago
parent 1dd21007c9
commit 01518e8312
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -210,7 +210,8 @@ def test_get_db_models_by_workflow_run(repository, session, mocker: MockerFixtur
assert result[0] is mock_execution assert result[0] is mock_execution
# Verify that _to_domain_model was NOT called (since we're returning raw DB models) # Verify that _to_domain_model was NOT called (since we're returning raw DB models)
assert not hasattr(repository, "_to_domain_model.assert_not_called") or not repository._to_domain_model.called if hasattr(repository, "_to_domain_model"):
repository._to_domain_model.assert_not_called()
def test_get_running_executions(repository, session, mocker: MockerFixture): def test_get_running_executions(repository, session, mocker: MockerFixture):

Loading…
Cancel
Save