From 970ed3e5de3414bbcd611ea22f734ba7a6f18307 Mon Sep 17 00:00:00 2001 From: JensWendt <92271654+JensWendt@users.noreply.github.com> Date: Tue, 30 Jul 2024 12:06:51 +0200 Subject: [PATCH] corrected error in test_posts --- tests/test_posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_posts.py b/tests/test_posts.py index a59c215..87a025a 100644 --- a/tests/test_posts.py +++ b/tests/test_posts.py @@ -198,7 +198,7 @@ def test_post_get_map_annotation(conn, project_structure, users_groups): map_ann_id = ezomero.post_map_annotation(conn, "Image", im_id, kv, ns) kv_pairs = ezomero.get_map_annotation(conn, map_ann_id) assert kv_pairs["key2"] == "value2" - assert kv_pairs["key3"] == ["value3", 123] + assert sorted(kv_pairs["key3"]) == sorted(["value3", "123"]) # Test posting to non-existing object im_id2 = 999999999