We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7045475 commit c5b0986Copy full SHA for c5b0986
tests/unit_tests/test_async_subtensor.py
@@ -128,9 +128,8 @@ async def test_async_subtensor_magic_methods(mocker):
128
pass
129
130
# Asserts
131
- fake_async_substrate.__aenter__.assert_called_once()
132
- fake_async_substrate.__aexit__.assert_called_once()
133
- fake_async_substrate.close.assert_awaited_once()
+ fake_async_substrate.initialize.assert_called_once()
+ fake_async_substrate.close.assert_called_once()
134
135
136
@pytest.mark.parametrize(
0 commit comments