def METHOD_NAME(self):
    timings = {"model_creation": datetime.datetime.now()}
    logger = logging.getLogger("calliope.testlogger")
    # TODO: capture logging output and check that comment is in string
    log_time(logger, timings, "test", comment="test_comment", level="info")
    assert isinstance(timings["test"], datetime.datetime)
    log_time(logger, timings, "test2", comment=None, level="info")
    assert isinstance(timings["test2"], datetime.datetime)
    # TODO: capture logging output and check that time_since_solve_start is in the string
    log_time(
        logger,
        timings,
        "test",
        comment=None,
        level="info",
        time_since_solve_start=True,
    )