From 4a718b58ee002896575f22d77c456e7ee4691292 Mon Sep 17 00:00:00 2001 From: Erik van den Brink Date: Mon, 16 Sep 2024 11:47:24 +0200 Subject: [PATCH] fix test --- tests/api/test_noderpc.py | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/tests/api/test_noderpc.py b/tests/api/test_noderpc.py index 2bbc106..101a870 100644 --- a/tests/api/test_noderpc.py +++ b/tests/api/test_noderpc.py @@ -558,10 +558,7 @@ async def test_get_version(self): "wsport": 10334, "nonce": 1930156121, "useragent": user_agent, - "rpc": { - "maxiteratorresultitems": 100, - "sessionenabled": True - }, + "rpc": {"maxiteratorresultitems": 100, "sessionenabled": True}, "protocol": { "addressversion": 53, "network": 860833102, @@ -573,23 +570,11 @@ async def test_get_version(self): "memorypoolmaxtransactions": 50000, "initialgasdistribution": 5200000000000000, "hardforks": [ - { - "name": "Aspidochelone", - "blockheight": 1730000 - }, - { - "name": "Basilisk", - "blockheight": 4120000 - }, - { - "name": "Cockatrice", - "blockheight": 5450000 - }, - { - "name": "Domovoi", - "blockheight": 5570000 - } - ] + {"name": "Aspidochelone", "blockheight": 1730000}, + {"name": "Basilisk", "blockheight": 4120000}, + {"name": "Cockatrice", "blockheight": 5450000}, + {"name": "Domovoi", "blockheight": 5570000}, + ], }, } self.mock_response(captured)