Beispiel #1
0
def publisher_activity_combinations():
    for org in lib.all_organizations(include_none=False):
        for include_sub_organizations in (False, True):
            yield {
                'organization': org,
                'include_sub_organizations': include_sub_organizations
            }
Beispiel #2
0
def publisher_resources_combinations():
    for organization in lib.all_organizations():
        for include_sub_organizations in (False, True):
            yield {
                'organization': organization,
                'include_sub_organizations': include_sub_organizations
            }
Beispiel #3
0
def tagless_report_option_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {
                'organization': organization,
                'include_sub_organizations': include_sub_organizations
            }
Beispiel #4
0
def broken_links_option_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {
                'organization': organization,
                'include_sub_organizations': include_sub_organizations
            }
Beispiel #5
0
def licence_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {
                'organization': organization,
                'include_sub_organizations': include_sub_organizations
            }
Beispiel #6
0
def dataset_without_resources_report_option_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {
                'organization': organization,
                'include_sub_organizations': include_sub_organizations
            }
def dataset_creation_combinations():
    """Return option combinations."""
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            for include_private in (False, True):
                for include_draft in (False, True):
                    yield {
                        'organization': organization,
                        'include_sub_organizations': include_sub_organizations,
                        'include_private': include_private,
                        'include_draft': include_draft
                    }
Beispiel #8
0
def dataset_creation_combinations():
    """Return option combinations."""
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            for include_private in (False, True):
                for include_draft in (False, True):
                    yield {
                        'organization': organization,
                        'include_sub_organizations': include_sub_organizations,
                        'include_private': include_private,
                        'include_draft': include_draft
                    }
Beispiel #9
0
def feedback_report_combinations():
    organization = None
    include_sub_organizations = True  # assumed for index anyway
    for include_published in (False, True):
        yield {'organization': organization,
               'include_sub_organizations': include_sub_organizations,
               'include_published': include_published}

    for organization in lib.all_organizations():
        for include_sub_organizations in (False, True):
            for include_published in (False, True):
                yield {'organization': organization,
                       'include_sub_organizations': include_sub_organizations,
                       'include_published': include_published}
Beispiel #10
0
def feedback_report_combinations():
    organization = None
    include_sub_organizations = True  # assumed for index anyway
    for include_published in (False, True):
        yield {
            'organization': organization,
            'include_sub_organizations': include_sub_organizations,
            'include_published': include_published
        }

    for organization in lib.all_organizations():
        for include_sub_organizations in (False, True):
            for include_published in (False, True):
                yield {
                    'organization': organization,
                    'include_sub_organizations': include_sub_organizations,
                    'include_published': include_published
                }
Beispiel #11
0
def feedback_report_combinations():
    organization = None
    include_sub_organizations = True  # assumed for index anyway
    for include_published in (False, True):
        yield {
            "organization": organization,
            "include_sub_organizations": include_sub_organizations,
            "include_published": include_published,
        }

    for organization in lib.all_organizations():
        for include_sub_organizations in (False, True):
            for include_published in (False, True):
                yield {
                    "organization": organization,
                    "include_sub_organizations": include_sub_organizations,
                    "include_published": include_published,
                }
Beispiel #12
0
def broken_links_option_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {'organization': organization,
                   'include_sub_organizations': include_sub_organizations}
Beispiel #13
0
def publisher_activity_combinations():
    for org in lib.all_organizations(include_none=False):
        for include_sub_organizations in (False, True):
            yield {'organization': org,
                   'include_sub_organizations': include_sub_organizations}
Beispiel #14
0
def publisher_resources_combinations():
    for organization in lib.all_organizations():
        for include_sub_organizations in (False, True):
                yield {'organization': organization,
                       'include_sub_organizations': include_sub_organizations}
Beispiel #15
0
def openness_report_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
            yield {'organization': organization,
                   'include_sub_organizations': include_sub_organizations}
Beispiel #16
0
def licence_combinations():
    for organization in lib.all_organizations(include_none=True):
        for include_sub_organizations in (False, True):
                yield {'organization': organization,
                       'include_sub_organizations': include_sub_organizations}