test: remove the lazy import of util in authproxy

This lazy import prompted the removal of the circular dependency, so
remove it now that we can.
This commit is contained in:
rkrux
2026-04-24 18:02:02 +05:30
parent 779f444680
commit 7be0d6fa18

View File

@@ -44,7 +44,7 @@ import socket
import time
import urllib.parse
from .util import JSONRPCException
from .util import JSONRPCException, assert_equal
HTTP_TIMEOUT = 30
USER_AGENT = "AuthServiceProxy/0.1"
@@ -139,7 +139,6 @@ class AuthServiceProxy():
else:
return response['result']
else:
from .util import assert_equal
assert_equal(response['jsonrpc'], '2.0')
if status != HTTPStatus.OK:
raise JSONRPCException({