bdd: complete coverage for API tests

Also removes some functions that are no longer used and
fixes debug output where the tests found an issue.
This commit is contained in:
Sarah Hoffmann
2021-01-16 22:20:23 +01:00
parent f9c43137c9
commit 340e7f7210
7 changed files with 94 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ class GenericResponse:
self.result = []
self.header = dict()
if errorcode == 200:
if errorcode == 200 and fmt != 'debug':
getattr(self, '_parse_' + fmt)()
def _parse_json(self):