Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in config test #2693

Merged
merged 5 commits into from
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/unit_tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

def test_py_config_parsed_successfully_rust_wallet():
"""Verify that python based config object is successfully parsed with rust-based wallet object."""
# Preps
parser = argparse.ArgumentParser()

bittensor.wallet.add_args(parser)
Expand All @@ -14,7 +13,7 @@ def test_py_config_parsed_successfully_rust_wallet():

config = bittensor.config(parser)

# since we can't apply mocking to rust implewmented object then replace those directly
# override config manually since we can't apply mocking to rust objects easily
config.wallet.name = "new_wallet_name"
config.wallet.hotkey = "new_hotkey"
config.wallet.path = "/some/not_default/path"
Expand Down
Loading