add brand account setup script (#520)

This commit is contained in:
sigma67 2024-02-04 15:21:17 +01:00 • committed by sigma67
commit 170eea358d
15 changed files with 309 additions and 262 deletions

View file

@ -11,13 +11,17 @@ def get_resource(file: str) -> str:
return data_dir.joinpath(file).as_posix()
@pytest.fixture(name="config")
def fixture_config() -> configparser.RawConfigParser:
def get_config() -> configparser.RawConfigParser:
config = configparser.RawConfigParser()
config.read(get_resource("test.cfg"), "utf-8")
return config
@pytest.fixture(name="config")
def fixture_config() -> configparser.RawConfigParser:
return get_config()
@pytest.fixture(name="sample_album")
def fixture_sample_album() -> str:
"""Eminem - Revival"""