BB: Use string when unsetting island mode

This commit is contained in:
Ilija Lazoroski 2022-08-01 18:52:19 +02:00
parent cf084242f0
commit 53048c03ed
1 changed files with 1 additions and 1 deletions

View File

@ -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")