Skip to content

Commit

Permalink
fix: test config
Browse files Browse the repository at this point in the history
  • Loading branch information
drunest committed Oct 8, 2024
1 parent 944397b commit 7dea1d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/auto_validator/core/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from collections.abc import Generator

import bittensor as bt
import pexpect
import pytest
from rest_framework.authtoken.models import Token
from rest_framework.test import APIClient
Expand Down Expand Up @@ -87,10 +86,9 @@ def wallet():
coldkey_name = "auto-validator7"
hotkey_name = "testhotkey7"

wallet = bt.Wallet(name=coldkey_name, hotkey=hotkey_name)
wallet = bt.Wallet(name=coldkey_name, hotkey=hotkey_name, path=".bittensor/wallets")
if not wallet.coldkey_file.exists_on_device():
wallet.create_new_coldkey(overwrite=False, use_password=False)

if not wallet.hotkey_file.exists_on_device():
wallet.create_new_hotkey(overwrite=False, use_password=False)

Expand Down

0 comments on commit 7dea1d9

Please sign in to comment.