File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def test_properties_methods_comparable(other_class: "Subtensor" = None):
7
7
"""Verifies that methods in SubtensorApi and its properties contains all Subtensors methods."""
8
8
# Preps
9
9
subtensor = other_class (_mock = True ) if other_class else Subtensor (_mock = True )
10
- subtensor_api = SubtensorApi (_mock = True )
10
+ subtensor_api = SubtensorApi (mock = True )
11
11
12
12
subtensor_methods = [m for m in dir (subtensor ) if not m .startswith ("_" )]
13
13
@@ -62,8 +62,8 @@ def test__methods_comparable_with_passed_legacy_methods(
62
62
):
63
63
"""Verifies that methods in SubtensorApi contains all Subtensors methods if `legacy_methods=True` is passed."""
64
64
# Preps
65
- subtensor = other_class (_mock = True ) if other_class else Subtensor (_mock = True )
66
- subtensor_api = SubtensorApi (_mock = True , legacy_methods = True )
65
+ subtensor = other_class (mock = True ) if other_class else Subtensor (_mock = True )
66
+ subtensor_api = SubtensorApi (mock = True , legacy_methods = True )
67
67
68
68
subtensor_methods = [m for m in dir (subtensor ) if not m .startswith ("_" )]
69
69
subtensor_api_methods = [m for m in dir (subtensor_api ) if not m .startswith ("_" )]
You can’t perform that action at this time.
0 commit comments