Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit a02da8e

Browse files
author
Micheal Gendy
committed
fix tests issue
1 parent aaa9828 commit a02da8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_columns.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ async def test_bulk_update():
185185
products[1].status = StatusEnum.RELEASED
186186
products[0].data = {"foo": 1234}
187187
products[1].data = {"foo": 5678}
188-
products[0].value = 1234.567
189-
products[1].value = 5678.891
188+
products[0].value = 345.5
189+
products[1].value = 789.8
190190
await Product.objects.bulk_update(
191191
products, fields=["created_day", "status", "data", "value"]
192192
)
@@ -197,5 +197,5 @@ async def test_bulk_update():
197197
assert products[1].status == StatusEnum.RELEASED
198198
assert products[0].data == {"foo": 1234}
199199
assert products[1].data == {"foo": 5678}
200-
assert products[0].value == 1234.567
201-
assert products[1].value == 5678.891
200+
assert products[0].value == 345.5
201+
assert products[1].value == 789.8

0 commit comments

Comments
 (0)