wip: filesystem as a service.
This commit is contained in:
17
tests/test_publicapi.py
Normal file
17
tests/test_publicapi.py
Normal file
@ -0,0 +1,17 @@
|
||||
import types
|
||||
|
||||
|
||||
def test_wildcard_import():
|
||||
bonobo = __import__('bonobo')
|
||||
assert bonobo.__version__
|
||||
|
||||
for name in dir(bonobo):
|
||||
# ignore attributes starting by underscores
|
||||
if name.startswith('_'):
|
||||
continue
|
||||
attr = getattr(bonobo, name)
|
||||
if isinstance(attr, types.ModuleType):
|
||||
continue
|
||||
|
||||
assert name in bonobo.__all__
|
||||
|
||||
Reference in New Issue
Block a user