Skip to content

Commit a8a1bf5

Browse files
author
Andrei Neagu
committed
refactored test
1 parent 579f6ce commit a8a1bf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/service-library/tests/long_running_tasks/test_long_running_tasks__redis_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717

1818
def test_ensure_task_data_field_name_and_type():
19-
# ensure this does not change since it's queied for the remal as a single entity
19+
# NOTE: ensure thse do not change, if you want to change them remeber that the db is invalid
20+
assert _MARKED_FOR_REMOVAL_FIELD == "marked_for_removal"
2021
field = TaskData.model_fields[_MARKED_FOR_REMOVAL_FIELD]
2122
assert field.annotation is bool
2223

0 commit comments

Comments
 (0)