Add check for __all__ items
This commit is contained in:
parent
68120fa65a
commit
0d1c642871
|
@ -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)
|
Loading…
Reference in New Issue