diff options
Diffstat (limited to 'framework/database.py')
-rw-r--r-- | framework/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/database.py b/framework/database.py index a7415a7..4087d50 100644 --- a/framework/database.py +++ b/framework/database.py @@ -92,6 +92,6 @@ class ResultDatabase: def getResults(self, run): c = self.connection.cursor() - query = 'SELECT test_name, result, return_code, errors, output FROM results WHERE run_name = ?' + query = 'SELECT test_name, command, result, return_code, errors, output FROM results WHERE run_name = ?' rs = c.execute(query, [run]) - return dict([(r[0], {'result': r[1], 'return_code': r[2], 'errors': r[3], 'output': r[4]}) for r in rs]) + return dict([(r[0], {'command': r[1], 'result': r[2], 'return_code': r[3], 'errors': r[4], 'output': r[5]}) for r in rs]) |