Skip to content

Commit

Permalink
Fix py lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Aug 22, 2023
1 parent 4ddeff9 commit d3a631d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/functional/feature_dst20.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -808,7 +809,6 @@ def run_test(self):
).read()
)["object"]


# Generate chain
self.node.generate(150)
self.nodes[0].utxostoaccount({self.address: "1000@DFI"})
Expand Down
6 changes: 3 additions & 3 deletions test/functional/feature_evm_vmmap_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d3a631d

Please sign in to comment.