mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user