mirror of
https://github.com/enpaul/peewee-plus.git
synced 2025-09-19 01:41:58 +00:00
Clean up the tests
Add tests for __all__ public api definition Rename test modules for consistency
This commit is contained in:
@@ -11,6 +11,12 @@ import peewee_plus
|
||||
from .fixtures import fakedb
|
||||
|
||||
|
||||
def test_public_api():
|
||||
"""Test that the public API components are exposed via ``__all__``"""
|
||||
|
||||
assert peewee_plus.TimedeltaField.__name__ in peewee_plus.__all__
|
||||
|
||||
|
||||
def test_conversion(fakedb):
|
||||
"""Test basic usage of PathField for roundtrip compatibility"""
|
||||
|
||||
|
Reference in New Issue
Block a user