Commit e4a928f5 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][execution] Fix key search in dictionary

parent e04f41f7
......@@ -143,7 +143,7 @@ class TestExecution(unittest.TestCase):
return result
assert result['status'] == 0
if result.has_key('statistics'):
if 'statistics' in result:
assert isinstance(result['statistics'], dict)
if executor.analysis:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment