changed the function name and added a doc string explaining
parent
390faeef46
commit
5fd0e5020f
|
@ -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
|
||||
|
|
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue