def METHOD_NAME(metrics_dump_dir):
    if pytest.metrics_dump_path is None:
        data = datetime.datetime.now()
        data_stamp = "_".join([str(getattr(data, atr)) for atr in ["year", "month", "day", "hour", "minute", "second"]])
        pytest.metrics_dump_path = PROJECT_ROOT / "test_results" / "metrics_dump_" / f"{data_stamp}"
    else:
        pytest.metrics_dump_path = Path(pytest.metrics_dump_path)
    assert not os.path.isdir(pytest.metrics_dump_path) or not os.listdir(
        pytest.metrics_dump_path
    ), f"metrics_dump_path dir should be empty: {pytest.metrics_dump_path}"
    print(f"metrics_dump_path: {pytest.metrics_dump_path}")