Commit 5bc66df8 authored by Nicolas Wavrant's avatar Nicolas Wavrant

resiliencytest: trivial code fix

parent a411a3c0
......@@ -232,9 +232,7 @@ class SlaprunnerTestSuite(ResiliencyTestSuite):
data='path=workspace/slapos/software/%s/' % software_release
if json.loads(data)['code'] == 0:
raise IOError(data['result'])
assert json.loads(data)['code'] != 0, 'Unexpecting result in call to setCurrentProject: %s' % data
def generateData(self):
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