Ferdinanddb commented on code in PR #3900:
URL: https://github.com/apache/iceberg-python/pull/3900#discussion_r3938118121


##########
tests/table/test_manage_snapshots.py:
##########
@@ -36,6 +41,15 @@ def _get_updates(mock_catalog: MagicMock) -> 
tuple[TableUpdate, ...]:
     return args[2]
 
 
+def _get_requirements(mock_catalog: MagicMock) -> tuple[TableRequirement, ...]:
+    args, _ = mock_catalog.commit_table.call_args
+    return args[1]
+
+
+def _get_set_ref_updates(mock_catalog: MagicMock) -> 
list[SetSnapshotRefUpdate]:

Review Comment:
   Done, changed so that the helpers I added in this module are public



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to