Skip to content

Commit 9983dce

Browse files
committed
Fix and add tests for Method class
- Fix some tests that were falsely passing - Add tests for `is_property` flag for `Method` class
1 parent 7c898f4 commit 9983dce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/core/method-class/test_method.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_method_accepts_callable_for_selector():
3232

3333
def test_method_selector_fn_accepts_str():
3434
method = Method(
35-
is_property=True,
35+
set_as_property=True,
3636
json_rpc_method='eth_method',
3737
)
3838
assert method.method_selector_fn() == 'eth_method'
@@ -217,7 +217,7 @@ def test_default_input_munger_with_input_parameters():
217217
),
218218
(
219219
{
220-
'is_property': True,
220+
'set_as_property': True,
221221
'json_rpc_method': 'eth_chainId',
222222
},
223223
[],

0 commit comments

Comments
 (0)