From d3a631d9f05ad1f8cc4caa9a5fd119ce3db3c050 Mon Sep 17 00:00:00 2001 From: Niven Date: Tue, 22 Aug 2023 12:16:11 +0800 Subject: [PATCH] Fix py lint --- test/functional/feature_dst20.py | 2 +- test/functional/feature_evm_vmmap_rpc.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/feature_dst20.py b/test/functional/feature_dst20.py index 07dcc8cd32..e27284d41d 100755 --- a/test/functional/feature_dst20.py +++ b/test/functional/feature_dst20.py @@ -15,6 +15,7 @@ from test_framework.test_framework import DefiTestFramework from test_framework.util import assert_equal, assert_raises_rpc_error + class DST20(DefiTestFramework): def set_test_params(self): self.num_nodes = 1 @@ -808,7 +809,6 @@ def run_test(self): ).read() )["object"] - # Generate chain self.node.generate(150) self.nodes[0].utxostoaccount({self.address: "1000@DFI"}) diff --git a/test/functional/feature_evm_vmmap_rpc.py b/test/functional/feature_evm_vmmap_rpc.py index ce9608ec60..78cdad5256 100755 --- a/test/functional/feature_evm_vmmap_rpc.py +++ b/test/functional/feature_evm_vmmap_rpc.py @@ -250,9 +250,9 @@ def vmmap_valid_block_number_should_succeed(self): assert_equal(res["output"], item[1]) res = self.nodes[0].vmmap(str(item[1]), VMMapType.Auto) - assert_equal(res['input'], item[1]) - assert_equal(res['type'], 'BlockNumberEVMToDVM') - assert_equal(res['output'], item[0]) + assert_equal(res["input"], item[1]) + assert_equal(res["type"], "BlockNumberEVMToDVM") + assert_equal(res["output"], item[0]) def vmmap_invalid_block_number_should_fail(self): assert_invalid = lambda *args: assert_raises_rpc_error(