def METHOD_NAME(
    _mock_k8s_corev1api, _mock_config, monkeypatch: pytest.MonkeyPatch
):
    with tempfile.TemporaryDirectory() as tmp:
        # NOTE: The support command leaves the ./log folder behind after running,
        # relative to wherever the tests were run from.
        # Changing context to the tmp dir so this will be cleaned up properly.
        monkeypatch.chdir(Path(tmp).resolve())
        tmp_file = Path(tmp).resolve() / "nebari-config.yaml"
        assert tmp_file.exists() is False
        with open(tmp_file.resolve(), "w") as f:
            yaml.dump({"project_name": "support", "namespace": "test-ns"}, f)
        assert tmp_file.exists() is True
        app = create_cli()
        log_zip_file = Path(tmp).resolve() / "test-support.zip"
        assert log_zip_file.exists() is False
        result = runner.invoke(
            app,
            [
                "support",
                "--config",
                tmp_file.resolve(),
                "--output",
                log_zip_file.resolve(),
            ],
        )
        assert log_zip_file.exists() is True
        assert 0 == result.exit_code
        assert not result.exception
        assert "log/test-ns" in result.stdout
        # open the zip and check a sample file for the expected formatting
        with ZipFile(log_zip_file.resolve(), "r") as log_zip:
            # expect 1 log file per pod
            assert 2 == len(log_zip.namelist())
            with log_zip.open("log/test-ns/pod-1.txt") as log_file:
                content = str(log_file.read(), "UTF-8")
                # expect formatted header + logs for each container
                expected = """