From 5c57bd192700816e3237bc3dadbf26d8c01c584f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20S=C3=A1nchez?= Date: Mon, 8 Jan 2024 10:58:26 +0000 Subject: [PATCH] Fix issue with enum test caused by breaking change in cpython For more info, see python/cpython#100458 --- tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_models.py b/tests/test_models.py index 6ff0e8e..65df527 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -53,7 +53,7 @@ def test_bb_resourcetype(): @given(st.from_type(BBResourceType)) def test_bb_contenthandler_id(res_type): - assert BBContentHandler(id=f"resource/{res_type}").id == res_type + assert BBContentHandler(id=f"resource/{res_type.value}").id == res_type @given(st.from_type(BBResourceType)) def test_bb_contenthandler_str(res_type):