git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API unit test intended to test every api method
[tests.git]
/
qaapi
/
qa
/
QAAPI.py
diff --git
a/qaapi/qa/QAAPI.py
b/qaapi/qa/QAAPI.py
index
d632368
..
056d7a5
100644
(file)
--- a/
qaapi/qa/QAAPI.py
+++ b/
qaapi/qa/QAAPI.py
@@
-97,7
+97,7
@@
class QAAPI:
for attribute in dir(module):
attr = getattr(module, attribute)
- if callable(attr):
+ if callable(attr)
and hasattr(attr, 'status')
:
setattr(attr, 'mod_name', module_basename+"."+attribute)
callables.append(attr(self.config))
return callables