mirror of
https://github.com/enpaul/peewee-plus.git
synced 2024-12-25 01:03:29 +00:00
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
Block a user