BB: Add `simplify=True` when converting test agent configuration to dict in MonkeyIslandClient

This commit is contained in:
Shreya Malviya 2022-09-01 12:56:59 +05:30
parent 637023c568
commit 1abf2b7f03
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class MonkeyIslandClient(object):
def _import_config(self, test_configuration: TestConfiguration): def _import_config(self, test_configuration: TestConfiguration):
response = self.requests.put_json( response = self.requests.put_json(
"api/agent-configuration", "api/agent-configuration",
json=test_configuration.agent_configuration.dict(), json=test_configuration.agent_configuration.dict(simplify=True),
) )
if response.ok: if response.ok:
LOGGER.info("Configuration is imported.") LOGGER.info("Configuration is imported.")