fix uint tests
This commit is contained in:
parent
bb7e79d8c3
commit
07ce85646e
1 changed files with 4 additions and 1 deletions
|
|
@ -209,9 +209,12 @@ class TestFalkorDriver:
|
|||
async def test_delete_all_indexes(self):
|
||||
"""Test delete_all_indexes method."""
|
||||
with patch.object(self.driver, 'execute_query', new_callable=AsyncMock) as mock_execute:
|
||||
# Return None to simulate no indexes found
|
||||
mock_execute.return_value = None
|
||||
|
||||
await self.driver.delete_all_indexes()
|
||||
|
||||
mock_execute.assert_called_once_with('CALL db.indexes() YIELD name DROP INDEX name')
|
||||
mock_execute.assert_called_once_with('CALL db.indexes()')
|
||||
|
||||
|
||||
class TestFalkorDriverSession:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue