BB: Use string when unsetting island mode
This commit is contained in:
parent
cf084242f0
commit
53048c03ed
|
@ -120,7 +120,7 @@ class MonkeyIslandClient(object):
|
||||||
assert False
|
assert False
|
||||||
|
|
||||||
def _reset_island_mode(self):
|
def _reset_island_mode(self):
|
||||||
if self.requests.put("api/island/mode", data='{"mode": "unset"}').ok:
|
if self.requests.put("api/island/mode", data='"unset"').ok:
|
||||||
LOGGER.info("Resseting island mode after the test.")
|
LOGGER.info("Resseting island mode after the test.")
|
||||||
else:
|
else:
|
||||||
LOGGER.error("Failed to reset island mode")
|
LOGGER.error("Failed to reset island mode")
|
||||||
|
|
Loading…
Reference in New Issue