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

Commit 2802bb4

Browse files
[client] Adapt update tests
1 parent e790813 commit 2802bb4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/02-integration/stories/test_entity_crud.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,8 @@ def test_update(entity_class):
8787
if function_present:
8888
for update_field, update_value in entity_class.update_data().items():
8989
class_data[update_field] = update_value
90-
result = entity_class.ownclass().update_field(
91-
id=test_indicator["id"],
92-
key=update_field,
93-
value=update_value,
94-
)
90+
input = [{"key": update_field, "value": update_value}]
91+
result = entity_class.ownclass().update_field(id=test_indicator["id"], input=input)
9592
else:
9693
for update_field, update_value in entity_class.update_data().items():
9794
class_data[update_field] = update_value

0 commit comments

Comments
 (0)