Skip to content

Commit 9aa270c

Browse files
committed
Fix unrelated test
1 parent 28f4fd7 commit 9aa270c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration/test_collection_config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,8 +1357,9 @@ def is_supported():
13571357
update()
13581358

13591359
config = collection.config.get()
1360-
assert config.properties[0].description == "Name of the person"
1361-
assert config.properties[1].description == "Age of the person"
1360+
props = {prop.name: prop for prop in config.properties}
1361+
assert props["name"] == "Name of the person"
1362+
assert props["age"] == "Age of the person"
13621363
else:
13631364
with pytest.raises(UnexpectedStatusCodeError):
13641365
update()

0 commit comments

Comments
 (0)