Skip to content

Commit

Permalink
Update tests/test_settings.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
ShadowXBoss696 and coderabbitai[bot] authored Apr 18, 2024
1 parent 01be309 commit 559a11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_invalid_pref_definition() -> None:
"""Test that error is raised if preference definition is invalid"""

with pytest.raises(TypeError):
# Declare a invalid preference definition
# Declare an invalid preference definition that lacks required attributes, expecting a TypeError
class InvalidPreference(Preference):
desc = "This is invalid definition and must throw exception"

Expand Down

0 comments on commit 559a11d

Please sign in to comment.