From 1017f07df93a878a0f5c2714707290b95a99540f Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Wed, 20 Sep 2023 13:44:29 +0200 Subject: [PATCH] Black --- eth_defi/provider/llamarpc.py | 2 +- tests/provider/test_llamarpc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eth_defi/provider/llamarpc.py b/eth_defi/provider/llamarpc.py index 08211533..d74b0c5e 100644 --- a/eth_defi/provider/llamarpc.py +++ b/eth_defi/provider/llamarpc.py @@ -18,6 +18,6 @@ def is_llama_bad_grapql_reply(resp: Response): """ try: content = resp.json() - return content.get("error").get("message") == 'UserKey was not a ULID or UUID' + return content.get("error").get("message") == "UserKey was not a ULID or UUID" except Exception: return False diff --git a/tests/provider/test_llamarpc.py b/tests/provider/test_llamarpc.py index 54506758..ccc3b06e 100644 --- a/tests/provider/test_llamarpc.py +++ b/tests/provider/test_llamarpc.py @@ -16,4 +16,4 @@ def test_llama_is_bad(): provider = HTTPProvider(JSON_RPC_LLAMA) web3 = Web3(provider) assert not has_graphql_support(provider) - assert web3.eth.block_number > 1 \ No newline at end of file + assert web3.eth.block_number > 1