Commit 8600945f authored by Romain Courteaud's avatar Romain Courteaud 🐸

test_slapgrid: return 404 instead of 500 if url is not handled

parent f731630e
...@@ -494,7 +494,7 @@ class ComputerForTest(object): ...@@ -494,7 +494,7 @@ class ComputerForTest(object):
return {'status_code': self.status_code} return {'status_code': self.status_code}
else: else:
return {'status_code': 500} return {'status_code': 404, 'reason': 'test_slapgrid does not handle'}
def getTestSoftwareClass(self): def getTestSoftwareClass(self):
return SoftwareForTest return SoftwareForTest
......
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