def METHOD_NAME(set_root, get_root):
    get_root.return_value = ''
    with mock.patch('datadog_checks.dev.tooling.utils.load_config') as load_config:
        config = copy_default_config()
        config['extras'] = '/tmp'  # ensure we choose a dir that exists
        load_config.return_value = config
        args = ['-e']
        complete_set_root(args)
        assert set_root.called
        set_root.assert_called_with(config['extras'])