use pytest.fixture instead of pytest_asyncio.fixture in cmd test (#10040)

This commit is contained in:
Arvid Norberg
2022-01-31 18:48:58 -08:00
committed by GitHub
parent 108f72a756
commit e49b11d486
+1 -2
View File
@@ -1,6 +1,5 @@
import os
import pytest
import pytest_asyncio
import re
from chia.cmds.chia import cli
@@ -23,7 +22,7 @@ TEST_FINGERPRINT = 2877570395
class TestKeysCommands:
@pytest_asyncio.fixture(scope="function")
@pytest.fixture(scope="function")
def empty_keyring(self):
with TempKeyring(user="user-chia-1.8", service="chia-user-chia-1.8") as keychain:
yield keychain