Update api/tests/unit_tests/services/test_dataset_service_update_dataset.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
QuantumGhost
2025-09-17 20:17:40 +08:00
committed by GitHub
parent 948d6bac97
commit 0ad8cac3a8

View File

@ -200,7 +200,7 @@ class TestDatasetServiceUpdateDataset:
# Verify dataset and binding updates
self._assert_external_dataset_update(dataset, binding, update_data)
# Verify permission check was called
# Verify database operations
mock_db = mock_dataset_service_dependencies["db_session"]
mock_db.add.assert_any_call(dataset)
mock_db.add.assert_any_call(binding)