Skip to content

Commit

Permalink
Fix issue with enum test caused by breaking change in cpython
Browse files Browse the repository at this point in the history
For more info, see python/cpython#100458
  • Loading branch information
sanjacob committed Jan 8, 2024
1 parent 8f9c317 commit 5c57bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5c57bd1

Please sign in to comment.