def METHOD_NAME(tmpfolder):
    project = "my_project"
    struct = {"my_file": type("StrangeType", (object,), {})()}
    os.mkdir(project)
    with pytest.raises(TypeError):
        repo.init_commit_repo(project, struct)