Skip to content

Commit

Permalink
issue-2732: correct linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vladstepanyuk committed Jan 10, 2025
1 parent 8732aab commit cdcd0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cloud/blockstore/tests/monitoring/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ def check_change_device_state(self):
self.session, self.base_url,
self.dr_id, params, "<h2>No device id is given</h2>")


params = {
"action": "changeDeviceState",
"NewState" : "not a state",
Expand Down Expand Up @@ -485,7 +484,6 @@ def check_change_agent_state(self):
self.session, self.base_url,
self.dr_id, params, "<h2>No agent id is given</h2>")


params = {
"action": "changeAgentState",
"NewState" : "not a state",
Expand Down
4 changes: 2 additions & 2 deletions cloud/blockstore/tests/python/lib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cdcd0f1

Please sign in to comment.