[qa] removes a bunch of unused code.

This commit is contained in:
Romain Dorgueil
2017-05-22 22:34:33 +02:00
parent 1ba31191ee
commit 02e038b4b3
5 changed files with 6 additions and 17 deletions

View File

@ -1,4 +1,4 @@
import types
import inspect
def test_wildcard_import():
@ -10,7 +10,7 @@ def test_wildcard_import():
if name.startswith('_'):
continue
attr = getattr(bonobo, name)
if isinstance(attr, types.ModuleType):
if inspect.ismodule(attr):
continue
assert name in bonobo.__all__