From f3d3086409802bd1912c4eb8d87645c8850331f8 Mon Sep 17 00:00:00 2001 From: Stepanyuk Vladislav Date: Thu, 9 Jan 2025 09:15:42 +0000 Subject: [PATCH] issue-2732: correct linter issues --- cloud/blockstore/tests/monitoring/test.py | 2 -- cloud/blockstore/tests/python/lib/client.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cloud/blockstore/tests/monitoring/test.py b/cloud/blockstore/tests/monitoring/test.py index be25f3f5c9..f5827408fa 100644 --- a/cloud/blockstore/tests/monitoring/test.py +++ b/cloud/blockstore/tests/monitoring/test.py @@ -427,7 +427,6 @@ def check_change_device_state(self): self.session, self.base_url, self.dr_id, params, "

No device id is given

") - params = { "action": "changeDeviceState", "NewState" : "not a state", @@ -485,7 +484,6 @@ def check_change_agent_state(self): self.session, self.base_url, self.dr_id, params, "

No agent id is given

") - params = { "action": "changeAgentState", "NewState" : "not a state", diff --git a/cloud/blockstore/tests/python/lib/client.py b/cloud/blockstore/tests/python/lib/client.py index 6563a6f78b..783a1a8b98 100644 --- a/cloud/blockstore/tests/python/lib/client.py +++ b/cloud/blockstore/tests/python/lib/client.py @@ -175,14 +175,14 @@ def get_storage_service_config(self, disk_id=None, timeout=300): return json.loads(resp) def change_device_state(self, device_uuid, state, timeout=300): - req = {"ChangeDeviceState": {"DeviceUUID": device_uuid, "State": state}, "Message":"XXX"} + req = {"ChangeDeviceState": {"DeviceUUID": device_uuid, "State": state}, "Message": "XXX"} resp = self.__execute_action("diskregistrychangestate", req, timeout) return json.loads(resp) def change_agent_state(self, agent_id, state, timeout=300): - req = {"ChangeAgentState": {"AgentId": agent_id, "State": state}, "Message":"XXX"} + req = {"ChangeAgentState": {"AgentId": agent_id, "State": state}, "Message": "XXX"} resp = self.__execute_action("diskregistrychangestate", req, timeout)