tests/unit_tests/test_database.py
def mock_config(_path):
    """
    Load a mock config to override toml.load()

    Args:
        path (str): Normally, the path to the TOML is provided

    Returns:
        dict: The interpreted TOML file
    """
    return {"project": {"name": "valid"}}

    Load a mock config to override toml.load()

    Args:
        path (str): Normally, the path to the TOML is provided

    Returns:
        dict: The interpreted TOML file
    
Load a mock config to override toml.load()
Load a mock config to override toml . load ()
def mock_config(_path):
    return {"project": {"name": "valid"}}
def mock_config ( _path ) : return { "project" : { "name" : "valid" } }
Load a mock config to override toml.load()
Load a mock config to override toml . load ()
"""
    Load a mock config to override toml.load()

    Args:
        path (str): Normally, the path to the TOML is provided

    Returns:
        dict: The interpreted TOML file
    """
The interpreted TOML file
The interpreted TOML file
dict
_path
path
Normally, the path to the TOML is provided
Normally the path to the TOML is provided