changed the function name and added a doc string explaining

master^2
di1ara 2023-07-20 13:38:33 -04:00
parent 390faeef46
commit 5fd0e5020f
2 changed files with 8 additions and 3 deletions

View File

@ -180,8 +180,8 @@ def tmpconfdir(
# sessions by default:
# https://docs.pytest.org/en/6.2.x/tmpdir.html#the-default-base-temporary-directory
# BUT, if we wanted to always wipe conf dir and all contained files,
from shutil import rmtree
rmtree(str(tmp_path))
# from shutil import rmtree
# rmtree(str(tmp_path))
@pytest.fixture

View File

@ -1,9 +1,14 @@
'''
testing the creation of brokers.toml if it doesn't exist,
issue was found when trying to run piker chart on windows.
'''
from pathlib import Path
from piker import config
def test_root_conf_networking_section():
def test_brokers_created_from_template_on_load_accounts():
# load account names from ``brokers.toml``
accounts_def = config.load_accounts(
providers=['binance'],