Skip to content

Commit 456a202

Browse files
author
Johannes Lichtenberger
committed
Fix test_diff in async tests to use useDeweyIDs=True
- Add use_dewey_ids=True to test_sirix_async.py::test_diff - This matches the fix already applied to test_resource_sync.py - Without this flag, the diff response doesn't include deweyID field - Fixes the last failing test in CI
1 parent 04ed538 commit 456a202

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_sirix_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async def test_diff():
250250
sirix = await pysirix.sirix_async("admin", "admin", client)
251251
db = sirix.database("First", DBType.JSON)
252252
resource = db.resource("test_resource33")
253-
await resource.create([])
253+
await resource.create([], use_dewey_ids=True)
254254
await resource.update(1, {})
255255
assert await resource.diff(1, 2) == [
256256
{

0 commit comments

Comments
 (0)