Skip to content

Commit 329ce85

Browse files
author
Roman
committed
fix tests
1 parent b3c7159 commit 329ce85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit_tests/test_subtensor_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_properties_methods_comparable(other_class: "Subtensor" = None):
77
"""Verifies that methods in SubtensorApi and its properties contains all Subtensors methods."""
88
# Preps
99
subtensor = other_class(_mock=True) if other_class else Subtensor(_mock=True)
10-
subtensor_api = SubtensorApi(_mock=True)
10+
subtensor_api = SubtensorApi(mock=True)
1111

1212
subtensor_methods = [m for m in dir(subtensor) if not m.startswith("_")]
1313

@@ -62,8 +62,8 @@ def test__methods_comparable_with_passed_legacy_methods(
6262
):
6363
"""Verifies that methods in SubtensorApi contains all Subtensors methods if `legacy_methods=True` is passed."""
6464
# 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)
6767

6868
subtensor_methods = [m for m in dir(subtensor) if not m.startswith("_")]
6969
subtensor_api_methods = [m for m in dir(subtensor_api) if not m.startswith("_")]

0 commit comments

Comments
 (0)