From f9a2b5cde2d0ecc3ecc35992b72f3a1dff0ed260 Mon Sep 17 00:00:00 2001 From: Akiff Manji Date: Wed, 31 Jan 2024 17:27:18 +0000 Subject: [PATCH] chore: fix linting errors Signed-off-by: Akiff Manji --- rpc/integration/tests/__init__.py | 2 +- rpc/integration/tests/test_rpc.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rpc/integration/tests/__init__.py b/rpc/integration/tests/__init__.py index b32937cea..eaa670d7f 100644 --- a/rpc/integration/tests/__init__.py +++ b/rpc/integration/tests/__init__.py @@ -97,7 +97,7 @@ def send_drpc_response(self, **kwargs): @fail_if_not_ok("Failed to get DRPC record list") def get_drpc_records(self, **kwargs): """Get DRPC record list.""" - return get(self.url, f"/drpc/records", params=kwargs) + return get(self.url, "/drpc/records", params=kwargs) @unwrap_json_response @fail_if_not_ok("Failed to get DRPC record") diff --git a/rpc/integration/tests/test_rpc.py b/rpc/integration/tests/test_rpc.py index afbe178ac..531bd9271 100644 --- a/rpc/integration/tests/test_rpc.py +++ b/rpc/integration/tests/test_rpc.py @@ -2,7 +2,6 @@ import time from . import Agent, BOB, ALICE -from unittest.mock import patch rpc_request = {"jsonrpc": "2.0", "method": "add", "params": [1, 2], "id": 1} rpc_response = {"jsonrpc": "2.0", "result": 3, "id": 1}