Skip to content

Commit 9fb6ad5

Browse files
author
Your Name
committed
Updated the TC failure_2
1 parent 9a23ef9 commit 9fb6ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sde_collections/tests/test_workflow_status_triggers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ def test_full_text_import_workflow(self, MockGitHub, MockApi, MockSlackNotificat
149149

150150
# Setup mock API
151151
mock_api = Mock()
152-
mock_api.get_full_texts.return_value = self.api_response
152+
total_count = len(self.api_response)
153+
mock_api.get_full_texts.return_value = iter([(self.api_response, total_count)])
153154
MockApi.return_value = mock_api
154155

155156
# Setup initial workflow state

0 commit comments

Comments
 (0)