def remove_additional_dirs(request) -> None:
    """Fixture. Remove special directories which are created during the tests."""

    def fin_remove_additional_dirs() -> None:
        if os.path.isdir('fake-project'):
            utils.rmtree('fake-project')
        if os.path.isdir('fake-project-extra'):
            utils.rmtree('fake-project-extra')
        if os.path.isdir('fake-project-templated'):
            utils.rmtree('fake-project-templated')
        if os.path.isdir('fake-project-dict'):
            utils.rmtree('fake-project-dict')
        if os.path.isdir('fake-tmp'):
            utils.rmtree('fake-tmp')

    request.addfinalizer(fin_remove_additional_dirs)
Fixture. Remove special directories which are created during the tests.
tests/test_cookiecutter_local_no_input.py