mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
use pytest.fixture instead of pytest_asyncio.fixture in cmd test (#10040)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user