File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def test_attach_methods_to_module(web3_with_external_modules):
27
27
28
28
w3 .module1 .attach_methods ({
29
29
# set `property1` on `module1` with `eth_chainId` RPC endpoint
30
- 'property1' : Method ('eth_chainId' , is_property = True ),
30
+ 'property1' : Method ('eth_chainId' , set_as_property = True ),
31
31
# set `method1` on `module1` with `eth_getBalance` RPC endpoint
32
32
'method1' : Method ('eth_getBalance' ),
33
33
})
@@ -41,7 +41,7 @@ def test_attach_methods_to_module(web3_with_external_modules):
41
41
42
42
w3 .module2 .submodule1 .attach_methods ({
43
43
# set `method2` on `module2.submodule1` with `eth_blockNumber` RPC endpoint
44
- 'method2' : Method ('eth_blockNumber' , is_property = True )
44
+ 'method2' : Method ('eth_blockNumber' , set_as_property = True )
45
45
})
46
46
47
47
assert w3 .eth .block_number == 0
You can’t perform that action at this time.
0 commit comments