forked from p15670423/monkey
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
|
||||
|
||||
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.")
|
||||
else:
|
||||
LOGGER.error("Failed to reset island mode")
|
||||
|
|
Loading…
Reference in New Issue