[qa] removes a bunch of unused code.
This commit is contained in:
@ -28,8 +28,6 @@ def test_define_with_decorator():
|
||||
def Concrete(self, *args, **kwargs):
|
||||
calls.append((args, kwargs, ))
|
||||
|
||||
print('handler', Concrete.handler)
|
||||
|
||||
assert callable(Concrete.handler)
|
||||
t = Concrete('foo', bar='baz')
|
||||
|
||||
|
||||
@ -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__
|
||||
|
||||
Reference in New Issue
Block a user