tests: fix missing error on missing python entry point
This commit is contained in:
parent
c6dc2850c2
commit
6f5411d305
@ -46,5 +46,6 @@ for module in modules:
|
|||||||
name = name[1:]
|
name = name[1:]
|
||||||
if not hasattr(module['object'], name):
|
if not hasattr(module['object'], name):
|
||||||
print('Error: %s API method %s does not have a matching function' % (module['name'], name))
|
print('Error: %s API method %s does not have a matching function' % (module['name'], name))
|
||||||
|
error = True
|
||||||
|
|
||||||
sys.exit(1 if error else 0)
|
sys.exit(1 if error else 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user