def METHOD_NAME(
    self, files: List[str], expected: Type[RunwayModule], cd_tmp_path: Path
) -> None:
    """Test from autodetection."""
    for file_path in files:
        if file_path.endswith("/"):
            (cd_tmp_path / file_path).mkdir()
        else:
            (cd_tmp_path / file_path).touch()
    result = RunwayModuleType(cd_tmp_path)
    assert result.path == cd_tmp_path
    assert result.class_path == expected.__module__ + "." + expected.__name__
    assert not result.type_str
    assert result.module_class.__name__ == expected.__name__