def pytest_addoption(parser):
    """
    Add CLI options to py.test
    """
    group = parser.getgroup('tempdir', 'Temporary Directory Options')
    group.addoption('--tempdir-basename', default=None, help=
        'The predictable temporary directory base name. Defaults to the current directory name if not passed as a CLI parameter and if not defined using the tempdir_basename session scoped fixture. If the temporary directory exists when the test session starts, IT WILL BE WIPED!'
        )
    group.addoption('--tempdir-no-clean', default=False, action=
        'store_true', help=
        'Disable the removal of the created temporary directory')
