mirror of
https://github.com/enpaul/peewee-plus.git
synced 2025-04-08 12:23:31 +00:00
Add check for __all__ items
This commit is contained in:
parent
5e032d3827
commit
7c6e0b799d
@ -31,3 +31,10 @@ def test_about():
|
|||||||
)
|
)
|
||||||
is True
|
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