Skip to content

Commit 911f44d

Browse files
committed
correct the tests
1 parent b273193 commit 911f44d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_flows/test_flow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ def test_publish_error(self, mock_request, flow_exists_mock, get_flow_mock):
314314
"<oml:upload_flow>\n" " <oml:id>1</oml:id>\n" "</oml:upload_flow>"
315315
).encode()
316316
mock_request.return_value = response
317+
flow_exists_mock.return_value = None # Flow doesn't exist yet, so try to publish
317318
get_flow_mock.return_value = flow
318319

319320
flow.publish()

0 commit comments

Comments
 (0)