Add check for __all__ items

This commit is contained in:
Ethan Paul 2023-05-04 14:41:34 -04:00
parent 68120fa65a
commit 0d1c642871
1 changed files with 7 additions and 0 deletions

View File

@ -31,3 +31,10 @@ def test_about():
)
is True
)
def test_all():
"""Test that the string entries in ``__all__`` are correct"""
for item in peewee_plus.__all__:
assert hasattr(peewee_plus, item)