Skip to content

Commit

Permalink
Tweak test to match thew new python error message
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Jan 18, 2024
1 parent 0549313 commit 2c9253e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/h/models/group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_type_raises_for_unknown_type_of_group(factories):
def test_you_cannot_set_type(factories):
group = factories.Group()

with pytest.raises(AttributeError, match="can't set attribute"):
with pytest.raises(AttributeError, match="object has no setter"):
group.type = "open"


Expand Down

0 comments on commit 2c9253e

Please sign in to comment.