def class_fixture(class_folder):
    """Generate a reusable StatsCan class instance for testing.

    Parameters
    ----------
    class_folder: Path
        Where to store data for the class

    Returns
    -------
    stats_can.StatsCan
        Class instance for testing
    """
    return stats_can.StatsCan(data_folder=class_folder)
Beispiel #2
0
def class_fixture(class_folder):
    return stats_can.StatsCan(data_folder=class_folder)