mirror of
https://github.com/enpaul/peewee-plus.git
synced 2024-11-24 15:36:53 +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