From 2360b30c364a626b4bcd0a0870f57800bbd6d983 Mon Sep 17 00:00:00 2001 From: Ahmed Gouda <62152210+ahmedxgouda@users.noreply.github.com> Date: Tue, 4 Mar 2025 08:29:27 +0200 Subject: [PATCH] Rename all YAML test files to be snake_case. (#1002) --- schema/tests/chapter_test.py | 76 +++++------ schema/tests/committee_test.py | 74 +++++----- schema/tests/common/community_test.py | 20 +-- schema/tests/common/logo_test.py | 24 ++-- schema/tests/common/person_test.py | 22 +-- schema/tests/common/repository_test.py | 28 ++-- schema/tests/common/social_media_test.py | 20 +-- schema/tests/common/sponsor_test.py | 20 +-- .../{blog-empty.yaml => blog_empty.yaml} | 0 .../{blog-invalid.yaml => blog_invalid.yaml} | 0 .../{blog-null.yaml => blog_null.yaml} | 0 ...munity-empty.yaml => community_empty.yaml} | 0 ...-unique.yaml => community_non_unique.yaml} | 0 ...ommunity-null.yaml => community_null.yaml} | 0 ...{country-empty.yaml => country_empty.yaml} | 0 .../{country-null.yaml => country_null.yaml} | 0 ...-undefined.yaml => country_undefined.yaml} | 0 .../{events-empty.yaml => events_empty.yaml} | 0 ...non-unique.yaml => events_non_unique.yaml} | 0 .../{events-null.yaml => events_null.yaml} | 0 ...{leaders-empty.yaml => leaders_empty.yaml} | 0 ...on-unique.yaml => leaders_non_unique.yaml} | 0 .../{leaders-null.yaml => leaders_null.yaml} | 0 ...-undefined.yaml => leaders_undefined.yaml} | 0 .../{logo-empty.yaml => logo_empty.yaml} | 0 ...o-non-unique.yaml => logo_non_unique.yaml} | 0 .../{logo-null.yaml => logo_null.yaml} | 0 ...oup-empty.yaml => meetup_group_empty.yaml} | 0 ...group-null.yaml => meetup_group_null.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 .../{name-null.yaml => name_null.yaml} | 0 ...ame-undefined.yaml => name_undefined.yaml} | 0 .../{region-empty.yaml => region_empty.yaml} | 0 .../{region-null.yaml => region_null.yaml} | 0 ...dia-empty.yaml => social_media_empty.yaml} | 0 ...ique.yaml => social_media_non_unique.yaml} | 0 ...media-null.yaml => social_media_null.yaml} | 0 ...ponsors-empty.yaml => sponsors_empty.yaml} | 0 ...n-unique.yaml => sponsors_non_unique.yaml} | 0 ...{sponsors-null.yaml => sponsors_null.yaml} | 0 .../{tags-empty.yaml => tags_empty.yaml} | 0 ...s-non-unique.yaml => tags_non_unique.yaml} | 0 .../{tags-null.yaml => tags_null.yaml} | 0 ...ags-undefined.yaml => tags_undefined.yaml} | 0 ...{website-empty.yaml => website_empty.yaml} | 0 .../{website-null.yaml => website_null.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...munity-empty.yaml => community_empty.yaml} | 0 ...-unique.yaml => community_non_unique.yaml} | 0 ...ommunity-null.yaml => community_null.yaml} | 0 ...iption-null.yaml => description_null.yaml} | 0 ...efined.yaml => description_undefined.yaml} | 0 .../{events-empty.yaml => events_empty.yaml} | 0 ...vents-invalid.yaml => events_invalid.yaml} | 0 ...non-unique.yaml => events_non_unique.yaml} | 0 .../{events-null.yaml => events_null.yaml} | 0 ...-mail-empty.yaml => group_mail_empty.yaml} | 0 ...up-mail-null.yaml => group_mail_null.yaml} | 0 .../{logo-empty.yaml => logo_empty.yaml} | 0 ...o-non-unique.yaml => logo_non_unique.yaml} | 0 .../{logo-null.yaml => logo_null.yaml} | 0 ...alid.yaml => meeting_minutes_invalid.yaml} | 0 ...es-null.yaml => meeting_minutes_null.yaml} | 0 ...{members-empty.yaml => members_empty.yaml} | 0 .../{members-null.yaml => members_null.yaml} | 0 ...-undefined.yaml => members_undefined.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 ...ame-undefined.yaml => name_undefined.yaml} | 0 ...es-invalid.yaml => resources_invalid.yaml} | 0 ...esources-null.yaml => resources_null.yaml} | 0 ...{scope-invalid.yaml => scope_invalid.yaml} | 0 .../{scope-null.yaml => scope_null.yaml} | 0 ...dia-empty.yaml => social_media_empty.yaml} | 0 ...invalid.yaml => social_media_invalid.yaml} | 0 ...media-null.yaml => social_media_null.yaml} | 0 ...ponsors-empty.yaml => sponsors_empty.yaml} | 0 ...ors-invalid.yaml => sponsors_invalid.yaml} | 0 ...{sponsors-null.yaml => sponsors_null.yaml} | 0 .../{tags-empty.yaml => tags_empty.yaml} | 0 .../{tags-null.yaml => tags_null.yaml} | 0 ...ags-undefined.yaml => tags_undefined.yaml} | 0 ...{website-empty.yaml => website_empty.yaml} | 0 ...alid-url.yaml => website_invalid_url.yaml} | 0 .../{website-null.yaml => website_null.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...tion-empty.yaml => description_empty.yaml} | 0 ...iption-null.yaml => description_null.yaml} | 0 ...latform-empty.yaml => platform_empty.yaml} | 0 ...orm-invalid.yaml => platform_invalid.yaml} | 0 ...{platform-null.yaml => platform_null.yaml} | 0 ...undefined.yaml => platform_undefined.yaml} | 0 .../{url-empty.yaml => url_empty.yaml} | 0 .../{url-invalid.yaml => url_invalid.yaml} | 0 .../negative/{url-null.yaml => url_null.yaml} | 0 ...{url-undefined.yaml => url_undefined.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 .../{large-empty.yaml => large_empty.yaml} | 0 ...{large-invalid.yaml => large_invalid.yaml} | 0 .../{large-null.yaml => large_null.yaml} | 0 ...ge-undefined.yaml => large_undefined.yaml} | 0 .../{medium-empty.yaml => medium_empty.yaml} | 0 ...edium-invalid.yaml => medium_invalid.yaml} | 0 .../{medium-null.yaml => medium_null.yaml} | 0 ...m-undefined.yaml => medium_undefined.yaml} | 0 .../{small-empty.yaml => small_empty.yaml} | 0 ...{small-invalid.yaml => small_invalid.yaml} | 0 .../{small-null.yaml => small_null.yaml} | 0 ...ll-undefined.yaml => small_undefined.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 .../{email-empty.yaml => email_empty.yaml} | 0 ...{email-invalid.yaml => email_invalid.yaml} | 0 .../{email-null.yaml => email_null.yaml} | 0 .../{github-empty.yaml => github_empty.yaml} | 0 ...ithub-invalid.yaml => github_invalid.yaml} | 0 .../{github-null.yaml => github_null.yaml} | 0 ...b-undefined.yaml => github_undefined.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 .../{name-null.yaml => name_null.yaml} | 0 .../{slack-empty.yaml => slack_empty.yaml} | 0 .../{slack-null.yaml => slack_null.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...ngelog-empty.yaml => changelog_empty.yaml} | 0 ...hangelog-null.yaml => changelog_null.yaml} | 0 ...-empty.yaml => code_of_conduct_empty.yaml} | 0 ...ct-null.yaml => code_of_conduct_null.yaml} | 0 ...pty.yaml => contribution_guide_empty.yaml} | 0 ...null.yaml => contribution_guide_null.yaml} | 0 ...tion-empty.yaml => description_empty.yaml} | 0 ...iption-null.yaml => description_null.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 .../{name-null.yaml => name_null.yaml} | 0 .../{url-empty.yaml => url_empty.yaml} | 0 .../{url-invalid.yaml => url_invalid.yaml} | 0 .../negative/{url-null.yaml => url_null.yaml} | 0 ...{url-undefined.yaml => url_undefined.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...tion-empty.yaml => description_empty.yaml} | 0 ...iption-null.yaml => description_null.yaml} | 0 ...latform-empty.yaml => platform_empty.yaml} | 0 ...orm-invalid.yaml => platform_invalid.yaml} | 0 ...{platform-null.yaml => platform_null.yaml} | 0 ...undefined.yaml => platform_undefined.yaml} | 0 .../{url-empty.yaml => url_empty.yaml} | 0 .../{url-invalid.yaml => url_invalid.yaml} | 0 .../negative/{url-null.yaml => url_null.yaml} | 0 ...{url-undefined.yaml => url_undefined.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...tion-empty.yaml => description_empty.yaml} | 0 ...iption-null.yaml => description_null.yaml} | 0 .../{logo-empty.yaml => logo_empty.yaml} | 0 .../{logo-null.yaml => logo_null.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 .../{name-null.yaml => name_null.yaml} | 0 ...ame-undefined.yaml => name_undefined.yaml} | 0 .../{url-empty.yaml => url_empty.yaml} | 0 .../negative/{url-null.yaml => url_null.yaml} | 0 ...{url-undefined.yaml => url_undefined.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 ...udience-empty.yaml => audience_empty.yaml} | 0 ...nce-invalid.yaml => audience_invalid.yaml} | 0 ...{audience-null.yaml => audience_null.yaml} | 0 ...undefined.yaml => audience_undefined.yaml} | 0 .../{blog-empty.yaml => blog_empty.yaml} | 0 .../{blog-invalid.yaml => blog_invalid.yaml} | 0 .../{blog-null.yaml => blog_null.yaml} | 0 ...munity-empty.yaml => community_empty.yaml} | 0 ...-unique.yaml => community_non_unique.yaml} | 0 ...ommunity-null.yaml => community_null.yaml} | 0 .../{demo-empty.yaml => demo_empty.yaml} | 0 .../{demo-invalid.yaml => demo_invalid.yaml} | 0 ...o-non-unique.yaml => demo_non_unique.yaml} | 0 .../{demo-null.yaml => demo_null.yaml} | 0 ...on-empty.yaml => documentation_empty.yaml} | 0 ...nvalid.yaml => documentation_invalid.yaml} | 0 ...que.yaml => documentation_non_unique.yaml} | 0 ...tion-null.yaml => documentation_null.yaml} | 0 ...nloads-empty.yaml => downloads_empty.yaml} | 0 ...ds-invalid.yaml => downloads_invalid.yaml} | 0 ...-unique.yaml => downloads_non_unique.yaml} | 0 ...ownloads-null.yaml => downloads_null.yaml} | 0 .../{events-empty.yaml => events_empty.yaml} | 0 ...vents-invalid.yaml => events_invalid.yaml} | 0 ...non-unique.yaml => events_non_unique.yaml} | 0 .../{events-null.yaml => events_null.yaml} | 0 ...{leaders-empty.yaml => leaders_empty.yaml} | 0 ...on-unique.yaml => leaders_non_unique.yaml} | 0 .../{leaders-null.yaml => leaders_null.yaml} | 0 ...-undefined.yaml => leaders_undefined.yaml} | 0 ...{level-invalid.yaml => level_invalid.yaml} | 0 ...el-undefined.yaml => level_undefined.yaml} | 0 ...ense-invalid.yaml => license_invalid.yaml} | 0 .../{logo-empty.yaml => logo_empty.yaml} | 0 ...o-non-unique.yaml => logo_non_unique.yaml} | 0 .../{logo-null.yaml => logo_null.yaml} | 0 ...ist-empty.yaml => mailing_list_empty.yaml} | 0 ...invalid.yaml => mailing_list_invalid.yaml} | 0 ...-list-null.yaml => mailing_list_null.yaml} | 0 .../{name-empty.yaml => name_empty.yaml} | 0 .../{name-null.yaml => name_null.yaml} | 0 ...ame-undefined.yaml => name_undefined.yaml} | 0 .../{pitch-empty.yaml => pitch_empty.yaml} | 0 .../{pitch-null.yaml => pitch_null.yaml} | 0 ...ch-undefined.yaml => pitch_undefined.yaml} | 0 ...ies-empty.yaml => repositories_empty.yaml} | 0 ...ique.yaml => repositories_non_unique.yaml} | 0 ...ories-null.yaml => repositories_null.yaml} | 0 ...dia-empty.yaml => social_media_empty.yaml} | 0 ...ique.yaml => social_media_non_unique.yaml} | 0 ...media-null.yaml => social_media_null.yaml} | 0 ...ponsors-empty.yaml => sponsors_empty.yaml} | 0 ...n-unique.yaml => sponsors_non_unique.yaml} | 0 ...{sponsors-null.yaml => sponsors_null.yaml} | 0 .../{tags-empty.yaml => tags_empty.yaml} | 0 ...s-non-unique.yaml => tags_non_unique.yaml} | 0 .../{tags-null.yaml => tags_null.yaml} | 0 ...ags-undefined.yaml => tags_undefined.yaml} | 0 .../{type-empty.yaml => type_empty.yaml} | 0 .../{type-null.yaml => type_null.yaml} | 0 ...ype-undefined.yaml => type_undefined.yaml} | 0 ...{website-empty.yaml => website_empty.yaml} | 0 .../{website-null.yaml => website_null.yaml} | 0 ...operties.yaml => optional_properties.yaml} | 0 ...operties.yaml => required_properties.yaml} | 0 schema/tests/project_test.py | 126 +++++++++--------- 231 files changed, 205 insertions(+), 205 deletions(-) rename schema/tests/data/chapter/negative/{blog-empty.yaml => blog_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{blog-invalid.yaml => blog_invalid.yaml} (100%) rename schema/tests/data/chapter/negative/{blog-null.yaml => blog_null.yaml} (100%) rename schema/tests/data/chapter/negative/{community-empty.yaml => community_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{community-non-unique.yaml => community_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{community-null.yaml => community_null.yaml} (100%) rename schema/tests/data/chapter/negative/{country-empty.yaml => country_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{country-null.yaml => country_null.yaml} (100%) rename schema/tests/data/chapter/negative/{country-undefined.yaml => country_undefined.yaml} (100%) rename schema/tests/data/chapter/negative/{events-empty.yaml => events_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{events-non-unique.yaml => events_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{events-null.yaml => events_null.yaml} (100%) rename schema/tests/data/chapter/negative/{leaders-empty.yaml => leaders_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{leaders-non-unique.yaml => leaders_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{leaders-null.yaml => leaders_null.yaml} (100%) rename schema/tests/data/chapter/negative/{leaders-undefined.yaml => leaders_undefined.yaml} (100%) rename schema/tests/data/chapter/negative/{logo-empty.yaml => logo_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{logo-non-unique.yaml => logo_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{logo-null.yaml => logo_null.yaml} (100%) rename schema/tests/data/chapter/negative/{meetup_group-empty.yaml => meetup_group_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{meetup_group-null.yaml => meetup_group_null.yaml} (100%) rename schema/tests/data/chapter/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{name-null.yaml => name_null.yaml} (100%) rename schema/tests/data/chapter/negative/{name-undefined.yaml => name_undefined.yaml} (100%) rename schema/tests/data/chapter/negative/{region-empty.yaml => region_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{region-null.yaml => region_null.yaml} (100%) rename schema/tests/data/chapter/negative/{social-media-empty.yaml => social_media_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{social-media-non-unique.yaml => social_media_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{social-media-null.yaml => social_media_null.yaml} (100%) rename schema/tests/data/chapter/negative/{sponsors-empty.yaml => sponsors_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{sponsors-non-unique.yaml => sponsors_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{sponsors-null.yaml => sponsors_null.yaml} (100%) rename schema/tests/data/chapter/negative/{tags-empty.yaml => tags_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{tags-non-unique.yaml => tags_non_unique.yaml} (100%) rename schema/tests/data/chapter/negative/{tags-null.yaml => tags_null.yaml} (100%) rename schema/tests/data/chapter/negative/{tags-undefined.yaml => tags_undefined.yaml} (100%) rename schema/tests/data/chapter/negative/{website-empty.yaml => website_empty.yaml} (100%) rename schema/tests/data/chapter/negative/{website-null.yaml => website_null.yaml} (100%) rename schema/tests/data/chapter/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/chapter/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/committee/negative/{community-empty.yaml => community_empty.yaml} (100%) rename schema/tests/data/committee/negative/{community-non-unique.yaml => community_non_unique.yaml} (100%) rename schema/tests/data/committee/negative/{community-null.yaml => community_null.yaml} (100%) rename schema/tests/data/committee/negative/{description-null.yaml => description_null.yaml} (100%) rename schema/tests/data/committee/negative/{description-undefined.yaml => description_undefined.yaml} (100%) rename schema/tests/data/committee/negative/{events-empty.yaml => events_empty.yaml} (100%) rename schema/tests/data/committee/negative/{events-invalid.yaml => events_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{events-non-unique.yaml => events_non_unique.yaml} (100%) rename schema/tests/data/committee/negative/{events-null.yaml => events_null.yaml} (100%) rename schema/tests/data/committee/negative/{group-mail-empty.yaml => group_mail_empty.yaml} (100%) rename schema/tests/data/committee/negative/{group-mail-null.yaml => group_mail_null.yaml} (100%) rename schema/tests/data/committee/negative/{logo-empty.yaml => logo_empty.yaml} (100%) rename schema/tests/data/committee/negative/{logo-non-unique.yaml => logo_non_unique.yaml} (100%) rename schema/tests/data/committee/negative/{logo-null.yaml => logo_null.yaml} (100%) rename schema/tests/data/committee/negative/{meeting-minutes-invalid.yaml => meeting_minutes_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{meeting-minutes-null.yaml => meeting_minutes_null.yaml} (100%) rename schema/tests/data/committee/negative/{members-empty.yaml => members_empty.yaml} (100%) rename schema/tests/data/committee/negative/{members-null.yaml => members_null.yaml} (100%) rename schema/tests/data/committee/negative/{members-undefined.yaml => members_undefined.yaml} (100%) rename schema/tests/data/committee/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/committee/negative/{name-undefined.yaml => name_undefined.yaml} (100%) rename schema/tests/data/committee/negative/{resources-invalid.yaml => resources_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{resources-null.yaml => resources_null.yaml} (100%) rename schema/tests/data/committee/negative/{scope-invalid.yaml => scope_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{scope-null.yaml => scope_null.yaml} (100%) rename schema/tests/data/committee/negative/{social-media-empty.yaml => social_media_empty.yaml} (100%) rename schema/tests/data/committee/negative/{social-media-invalid.yaml => social_media_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{social-media-null.yaml => social_media_null.yaml} (100%) rename schema/tests/data/committee/negative/{sponsors-empty.yaml => sponsors_empty.yaml} (100%) rename schema/tests/data/committee/negative/{sponsors-invalid.yaml => sponsors_invalid.yaml} (100%) rename schema/tests/data/committee/negative/{sponsors-null.yaml => sponsors_null.yaml} (100%) rename schema/tests/data/committee/negative/{tags-empty.yaml => tags_empty.yaml} (100%) rename schema/tests/data/committee/negative/{tags-null.yaml => tags_null.yaml} (100%) rename schema/tests/data/committee/negative/{tags-undefined.yaml => tags_undefined.yaml} (100%) rename schema/tests/data/committee/negative/{website-empty.yaml => website_empty.yaml} (100%) rename schema/tests/data/committee/negative/{website-invalid-url.yaml => website_invalid_url.yaml} (100%) rename schema/tests/data/committee/negative/{website-null.yaml => website_null.yaml} (100%) rename schema/tests/data/committee/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/committee/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/community/negative/{description-empty.yaml => description_empty.yaml} (100%) rename schema/tests/data/common/community/negative/{description-null.yaml => description_null.yaml} (100%) rename schema/tests/data/common/community/negative/{platform-empty.yaml => platform_empty.yaml} (100%) rename schema/tests/data/common/community/negative/{platform-invalid.yaml => platform_invalid.yaml} (100%) rename schema/tests/data/common/community/negative/{platform-null.yaml => platform_null.yaml} (100%) rename schema/tests/data/common/community/negative/{platform-undefined.yaml => platform_undefined.yaml} (100%) rename schema/tests/data/common/community/negative/{url-empty.yaml => url_empty.yaml} (100%) rename schema/tests/data/common/community/negative/{url-invalid.yaml => url_invalid.yaml} (100%) rename schema/tests/data/common/community/negative/{url-null.yaml => url_null.yaml} (100%) rename schema/tests/data/common/community/negative/{url-undefined.yaml => url_undefined.yaml} (100%) rename schema/tests/data/common/community/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/common/community/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/logo/negative/{large-empty.yaml => large_empty.yaml} (100%) rename schema/tests/data/common/logo/negative/{large-invalid.yaml => large_invalid.yaml} (100%) rename schema/tests/data/common/logo/negative/{large-null.yaml => large_null.yaml} (100%) rename schema/tests/data/common/logo/negative/{large-undefined.yaml => large_undefined.yaml} (100%) rename schema/tests/data/common/logo/negative/{medium-empty.yaml => medium_empty.yaml} (100%) rename schema/tests/data/common/logo/negative/{medium-invalid.yaml => medium_invalid.yaml} (100%) rename schema/tests/data/common/logo/negative/{medium-null.yaml => medium_null.yaml} (100%) rename schema/tests/data/common/logo/negative/{medium-undefined.yaml => medium_undefined.yaml} (100%) rename schema/tests/data/common/logo/negative/{small-empty.yaml => small_empty.yaml} (100%) rename schema/tests/data/common/logo/negative/{small-invalid.yaml => small_invalid.yaml} (100%) rename schema/tests/data/common/logo/negative/{small-null.yaml => small_null.yaml} (100%) rename schema/tests/data/common/logo/negative/{small-undefined.yaml => small_undefined.yaml} (100%) rename schema/tests/data/common/logo/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/person/negative/{email-empty.yaml => email_empty.yaml} (100%) rename schema/tests/data/common/person/negative/{email-invalid.yaml => email_invalid.yaml} (100%) rename schema/tests/data/common/person/negative/{email-null.yaml => email_null.yaml} (100%) rename schema/tests/data/common/person/negative/{github-empty.yaml => github_empty.yaml} (100%) rename schema/tests/data/common/person/negative/{github-invalid.yaml => github_invalid.yaml} (100%) rename schema/tests/data/common/person/negative/{github-null.yaml => github_null.yaml} (100%) rename schema/tests/data/common/person/negative/{github-undefined.yaml => github_undefined.yaml} (100%) rename schema/tests/data/common/person/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/common/person/negative/{name-null.yaml => name_null.yaml} (100%) rename schema/tests/data/common/person/negative/{slack-empty.yaml => slack_empty.yaml} (100%) rename schema/tests/data/common/person/negative/{slack-null.yaml => slack_null.yaml} (100%) rename schema/tests/data/common/person/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/common/person/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/repository/negative/{changelog-empty.yaml => changelog_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{changelog-null.yaml => changelog_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{code_of_conduct-empty.yaml => code_of_conduct_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{code_of_conduct-null.yaml => code_of_conduct_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{contribution_guide-empty.yaml => contribution_guide_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{contribution_guide-null.yaml => contribution_guide_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{description-empty.yaml => description_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{description-null.yaml => description_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{name-null.yaml => name_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{url-empty.yaml => url_empty.yaml} (100%) rename schema/tests/data/common/repository/negative/{url-invalid.yaml => url_invalid.yaml} (100%) rename schema/tests/data/common/repository/negative/{url-null.yaml => url_null.yaml} (100%) rename schema/tests/data/common/repository/negative/{url-undefined.yaml => url_undefined.yaml} (100%) rename schema/tests/data/common/repository/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/common/repository/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/social_media/negative/{description-empty.yaml => description_empty.yaml} (100%) rename schema/tests/data/common/social_media/negative/{description-null.yaml => description_null.yaml} (100%) rename schema/tests/data/common/social_media/negative/{platform-empty.yaml => platform_empty.yaml} (100%) rename schema/tests/data/common/social_media/negative/{platform-invalid.yaml => platform_invalid.yaml} (100%) rename schema/tests/data/common/social_media/negative/{platform-null.yaml => platform_null.yaml} (100%) rename schema/tests/data/common/social_media/negative/{platform-undefined.yaml => platform_undefined.yaml} (100%) rename schema/tests/data/common/social_media/negative/{url-empty.yaml => url_empty.yaml} (100%) rename schema/tests/data/common/social_media/negative/{url-invalid.yaml => url_invalid.yaml} (100%) rename schema/tests/data/common/social_media/negative/{url-null.yaml => url_null.yaml} (100%) rename schema/tests/data/common/social_media/negative/{url-undefined.yaml => url_undefined.yaml} (100%) rename schema/tests/data/common/social_media/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/common/social_media/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{description-empty.yaml => description_empty.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{description-null.yaml => description_null.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{logo-empty.yaml => logo_empty.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{logo-null.yaml => logo_null.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{name-null.yaml => name_null.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{name-undefined.yaml => name_undefined.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{url-empty.yaml => url_empty.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{url-null.yaml => url_null.yaml} (100%) rename schema/tests/data/common/sponsor/negative/{url-undefined.yaml => url_undefined.yaml} (100%) rename schema/tests/data/common/sponsor/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/common/sponsor/positive/{required-properties.yaml => required_properties.yaml} (100%) rename schema/tests/data/project/negative/{audience-empty.yaml => audience_empty.yaml} (100%) rename schema/tests/data/project/negative/{audience-invalid.yaml => audience_invalid.yaml} (100%) rename schema/tests/data/project/negative/{audience-null.yaml => audience_null.yaml} (100%) rename schema/tests/data/project/negative/{audience-undefined.yaml => audience_undefined.yaml} (100%) rename schema/tests/data/project/negative/{blog-empty.yaml => blog_empty.yaml} (100%) rename schema/tests/data/project/negative/{blog-invalid.yaml => blog_invalid.yaml} (100%) rename schema/tests/data/project/negative/{blog-null.yaml => blog_null.yaml} (100%) rename schema/tests/data/project/negative/{community-empty.yaml => community_empty.yaml} (100%) rename schema/tests/data/project/negative/{community-non-unique.yaml => community_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{community-null.yaml => community_null.yaml} (100%) rename schema/tests/data/project/negative/{demo-empty.yaml => demo_empty.yaml} (100%) rename schema/tests/data/project/negative/{demo-invalid.yaml => demo_invalid.yaml} (100%) rename schema/tests/data/project/negative/{demo-non-unique.yaml => demo_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{demo-null.yaml => demo_null.yaml} (100%) rename schema/tests/data/project/negative/{documentation-empty.yaml => documentation_empty.yaml} (100%) rename schema/tests/data/project/negative/{documentation-invalid.yaml => documentation_invalid.yaml} (100%) rename schema/tests/data/project/negative/{documentation-non-unique.yaml => documentation_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{documentation-null.yaml => documentation_null.yaml} (100%) rename schema/tests/data/project/negative/{downloads-empty.yaml => downloads_empty.yaml} (100%) rename schema/tests/data/project/negative/{downloads-invalid.yaml => downloads_invalid.yaml} (100%) rename schema/tests/data/project/negative/{downloads-non-unique.yaml => downloads_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{downloads-null.yaml => downloads_null.yaml} (100%) rename schema/tests/data/project/negative/{events-empty.yaml => events_empty.yaml} (100%) rename schema/tests/data/project/negative/{events-invalid.yaml => events_invalid.yaml} (100%) rename schema/tests/data/project/negative/{events-non-unique.yaml => events_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{events-null.yaml => events_null.yaml} (100%) rename schema/tests/data/project/negative/{leaders-empty.yaml => leaders_empty.yaml} (100%) rename schema/tests/data/project/negative/{leaders-non-unique.yaml => leaders_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{leaders-null.yaml => leaders_null.yaml} (100%) rename schema/tests/data/project/negative/{leaders-undefined.yaml => leaders_undefined.yaml} (100%) rename schema/tests/data/project/negative/{level-invalid.yaml => level_invalid.yaml} (100%) rename schema/tests/data/project/negative/{level-undefined.yaml => level_undefined.yaml} (100%) rename schema/tests/data/project/negative/{license-invalid.yaml => license_invalid.yaml} (100%) rename schema/tests/data/project/negative/{logo-empty.yaml => logo_empty.yaml} (100%) rename schema/tests/data/project/negative/{logo-non-unique.yaml => logo_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{logo-null.yaml => logo_null.yaml} (100%) rename schema/tests/data/project/negative/{mailing-list-empty.yaml => mailing_list_empty.yaml} (100%) rename schema/tests/data/project/negative/{mailing-list-invalid.yaml => mailing_list_invalid.yaml} (100%) rename schema/tests/data/project/negative/{mailing-list-null.yaml => mailing_list_null.yaml} (100%) rename schema/tests/data/project/negative/{name-empty.yaml => name_empty.yaml} (100%) rename schema/tests/data/project/negative/{name-null.yaml => name_null.yaml} (100%) rename schema/tests/data/project/negative/{name-undefined.yaml => name_undefined.yaml} (100%) rename schema/tests/data/project/negative/{pitch-empty.yaml => pitch_empty.yaml} (100%) rename schema/tests/data/project/negative/{pitch-null.yaml => pitch_null.yaml} (100%) rename schema/tests/data/project/negative/{pitch-undefined.yaml => pitch_undefined.yaml} (100%) rename schema/tests/data/project/negative/{repositories-empty.yaml => repositories_empty.yaml} (100%) rename schema/tests/data/project/negative/{repositories-non-unique.yaml => repositories_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{repositories-null.yaml => repositories_null.yaml} (100%) rename schema/tests/data/project/negative/{social-media-empty.yaml => social_media_empty.yaml} (100%) rename schema/tests/data/project/negative/{social-media-non-unique.yaml => social_media_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{social-media-null.yaml => social_media_null.yaml} (100%) rename schema/tests/data/project/negative/{sponsors-empty.yaml => sponsors_empty.yaml} (100%) rename schema/tests/data/project/negative/{sponsors-non-unique.yaml => sponsors_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{sponsors-null.yaml => sponsors_null.yaml} (100%) rename schema/tests/data/project/negative/{tags-empty.yaml => tags_empty.yaml} (100%) rename schema/tests/data/project/negative/{tags-non-unique.yaml => tags_non_unique.yaml} (100%) rename schema/tests/data/project/negative/{tags-null.yaml => tags_null.yaml} (100%) rename schema/tests/data/project/negative/{tags-undefined.yaml => tags_undefined.yaml} (100%) rename schema/tests/data/project/negative/{type-empty.yaml => type_empty.yaml} (100%) rename schema/tests/data/project/negative/{type-null.yaml => type_null.yaml} (100%) rename schema/tests/data/project/negative/{type-undefined.yaml => type_undefined.yaml} (100%) rename schema/tests/data/project/negative/{website-empty.yaml => website_empty.yaml} (100%) rename schema/tests/data/project/negative/{website-null.yaml => website_null.yaml} (100%) rename schema/tests/data/project/positive/{optional-properties.yaml => optional_properties.yaml} (100%) rename schema/tests/data/project/positive/{required-properties.yaml => required_properties.yaml} (100%) diff --git a/schema/tests/chapter_test.py b/schema/tests/chapter_test.py index e2d0faf56..dc86d83d5 100644 --- a/schema/tests/chapter_test.py +++ b/schema/tests/chapter_test.py @@ -12,36 +12,36 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("blog-empty.yaml", "'' is not a 'uri'"), - ("blog-invalid.yaml", "'invalid-blog-uri' is not a 'uri'"), - ("blog-null.yaml", "None is not a 'uri'"), - ("community-empty.yaml", "[] should be non-empty"), + ("blog_empty.yaml", "'' is not a 'uri'"), + ("blog_invalid.yaml", "'invalid-blog-uri' is not a 'uri'"), + ("blog_null.yaml", "None is not a 'uri'"), + ("community_empty.yaml", "[] should be non-empty"), ( - "community-non-unique.yaml", + "community_non_unique.yaml", "[{'platform': 'discord', 'url': 'https://discord.com/example'}, " "{'platform': 'discord', 'url': 'https://discord.com/example'}] " "has non-unique elements", ), - ("community-null.yaml", "None is not of type 'array'"), - ("country-empty.yaml", "'' should be non-empty"), - ("country-null.yaml", "None is not of type 'string'"), - ("country-undefined.yaml", "'country' is a required property"), - ("events-empty.yaml", "[] should be non-empty"), + ("community_null.yaml", "None is not of type 'array'"), + ("country_empty.yaml", "'' should be non-empty"), + ("country_null.yaml", "None is not of type 'string'"), + ("country_undefined.yaml", "'country' is a required property"), + ("events_empty.yaml", "[] should be non-empty"), ( - "events-non-unique.yaml", + "events_non_unique.yaml", "['https://example.com/event1', 'https://example.com/event1'] has non-unique elements", ), - ("events-null.yaml", "None is not of type 'array'"), - ("leaders-empty.yaml", "[] is too short"), + ("events_null.yaml", "None is not of type 'array'"), + ("leaders_empty.yaml", "[] is too short"), ( - "leaders-non-unique.yaml", + "leaders_non_unique.yaml", "[{'github': 'leader1'}, {'github': 'leader1'}] has non-unique elements", ), - ("leaders-null.yaml", "None is not of type 'array'"), - ("leaders-undefined.yaml", "'leaders' is a required property"), - ("logo-empty.yaml", "[] should be non-empty"), + ("leaders_null.yaml", "None is not of type 'array'"), + ("leaders_undefined.yaml", "'leaders' is a required property"), + ("logo_empty.yaml", "[] should be non-empty"), ( - "logo-non-unique.yaml", + "logo_non_unique.yaml", "[{'small': 'https://example.com/smallLogo.png', " "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}, " @@ -49,35 +49,35 @@ "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}] has non-unique elements", ), - ("logo-null.yaml", "None is not of type 'array'"), - ("meetup_group-empty.yaml", "'' should be non-empty"), - ("meetup_group-null.yaml", "None is not of type 'string'"), - ("name-empty.yaml", "'' is too short"), - ("name-null.yaml", "None is not of type 'string'"), - ("name-undefined.yaml", "'name' is a required property"), - ("region-empty.yaml", "'' should be non-empty"), - ("region-null.yaml", "None is not of type 'string'"), - ("social-media-empty.yaml", "[] should be non-empty"), + ("logo_null.yaml", "None is not of type 'array'"), + ("meetup_group_empty.yaml", "'' should be non-empty"), + ("meetup_group_null.yaml", "None is not of type 'string'"), + ("name_empty.yaml", "'' is too short"), + ("name_null.yaml", "None is not of type 'string'"), + ("name_undefined.yaml", "'name' is a required property"), + ("region_empty.yaml", "'' should be non-empty"), + ("region_null.yaml", "None is not of type 'string'"), + ("social_media_empty.yaml", "[] should be non-empty"), ( - "social-media-non-unique.yaml", + "social_media_non_unique.yaml", "[{'platform': 'youtube', 'url': 'https://youtube.com/channel/123'}, " "{'platform': 'youtube', 'url': 'https://youtube.com/channel/123'}] " "has non-unique elements", ), - ("social-media-null.yaml", "None is not of type 'array'"), - ("sponsors-empty.yaml", "[] should be non-empty"), + ("social_media_null.yaml", "None is not of type 'array'"), + ("sponsors_empty.yaml", "[] should be non-empty"), ( - "sponsors-non-unique.yaml", + "sponsors_non_unique.yaml", "[{'name': 'CyberSec Corp', 'url': 'https://cybersec.com'}, " "{'name': 'CyberSec Corp', 'url': 'https://cybersec.com'}] has non-unique elements", ), - ("sponsors-null.yaml", "None is not of type 'array'"), - ("tags-empty.yaml", "[] is too short"), - ("tags-non-unique.yaml", "['chapter-tag-1', 'chapter-tag-1'] is too short"), - ("tags-null.yaml", "None is not of type 'array'"), - ("tags-undefined.yaml", "'tags' is a required property"), - ("website-empty.yaml", "['example-tag-1'] is too short"), - ("website-null.yaml", "None is not of type 'string'"), + ("sponsors_null.yaml", "None is not of type 'array'"), + ("tags_empty.yaml", "[] is too short"), + ("tags_non_unique.yaml", "['chapter-tag-1', 'chapter-tag-1'] is too short"), + ("tags_null.yaml", "None is not of type 'array'"), + ("tags_undefined.yaml", "'tags' is a required property"), + ("website_empty.yaml", "['example-tag-1'] is too short"), + ("website_null.yaml", "None is not of type 'string'"), ], ) def test_negative(chapter_schema, file_path, error_message): diff --git a/schema/tests/committee_test.py b/schema/tests/committee_test.py index bbfd1bb3d..fc2edce33 100644 --- a/schema/tests/committee_test.py +++ b/schema/tests/committee_test.py @@ -12,32 +12,32 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("community-empty.yaml", "[] should be non-empty"), + ("community_empty.yaml", "[] should be non-empty"), ( - "community-non-unique.yaml", + "community_non_unique.yaml", "[{'platform': 'discord', 'url': 'https://discord.com/example'}, " "{'platform': 'discord', 'url': 'https://discord.com/example'}] " "has non-unique elements", ), - ("community-null.yaml", "None is not of type 'array'"), - ("description-null.yaml", "None is not of type 'string'"), - ("description-undefined.yaml", "'description' is a required property"), - ("events-empty.yaml", "[] should be non-empty"), - ("events-invalid.yaml", "'xyz-abc' is not a 'uri'"), + ("community_null.yaml", "None is not of type 'array'"), + ("description_null.yaml", "None is not of type 'string'"), + ("description_undefined.yaml", "'description' is a required property"), + ("events_empty.yaml", "[] should be non-empty"), + ("events_invalid.yaml", "'xyz-abc' is not a 'uri'"), ( - "events-non-unique.yaml", + "events_non_unique.yaml", "['https://example.com/event1', 'https://example.com/event1'] has non-unique elements", ), - ("events-null.yaml", "None is not of type 'array'"), - ("group-mail-empty.yaml", "'' is not a 'email'"), - ("group-mail-null.yaml", "None is not a 'email'"), - ("members-empty.yaml", "[] is too short"), - ("members-null.yaml", "None is not of type 'array'"), - ("members-undefined.yaml", "'members' is a required property"), - ("logo-empty.yaml", "[] should be non-empty"), - ("logo-null.yaml", "None is not of type 'array'"), + ("events_null.yaml", "None is not of type 'array'"), + ("group_mail_empty.yaml", "'' is not a 'email'"), + ("group_mail_null.yaml", "None is not a 'email'"), + ("members_empty.yaml", "[] is too short"), + ("members_null.yaml", "None is not of type 'array'"), + ("members_undefined.yaml", "'members' is a required property"), + ("logo_empty.yaml", "[] should be non-empty"), + ("logo_null.yaml", "None is not of type 'array'"), ( - "logo-non-unique.yaml", + "logo_non_unique.yaml", "[{'small': 'https://example.com/smallLogo.png', " "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}, " @@ -45,26 +45,26 @@ "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}] has non-unique elements", ), - ("meeting-minutes-null.yaml", "None is not of type 'array'"), - ("meeting-minutes-invalid.yaml", "'https://xyz' is not a 'uri'"), - ("name-empty.yaml", "'' is too short"), - ("name-undefined.yaml", "'name' is a required property"), - ("resources-invalid.yaml", "'https://xyz' is not a 'uri'"), - ("resources-null.yaml", "None is not of type 'array'"), - ("scope-null.yaml", "None is not of type 'string'"), - ("scope-invalid.yaml", "'scope' is a required property"), - ("social-media-empty.yaml", "[] should be non-empty"), - ("social-media-invalid.yaml", "'https://xyz' is not a 'uri'"), - ("social-media-null.yaml", "None is not of type 'array'"), - ("sponsors-empty.yaml", "[] should be non-empty"), - ("sponsors-invalid.yaml", "'https://xyz' is not a 'uri'"), - ("sponsors-null.yaml", "None is not of type 'array'"), - ("tags-empty.yaml", "[] is too short"), - ("tags-null.yaml", "None is not of type 'array'"), - ("tags-undefined.yaml", "'tags' is a required property"), - ("website-empty.yaml", "'' is not a 'uri'"), - ("website-invalid-url.yaml", "'https://xyz' is not a 'uri'"), - ("website-null.yaml", "None is not a 'uri'"), + ("meeting_minutes_null.yaml", "None is not of type 'array'"), + ("meeting_minutes_invalid.yaml", "'https://xyz' is not a 'uri'"), + ("name_empty.yaml", "'' is too short"), + ("name_undefined.yaml", "'name' is a required property"), + ("resources_invalid.yaml", "'https://xyz' is not a 'uri'"), + ("resources_null.yaml", "None is not of type 'array'"), + ("scope_null.yaml", "None is not of type 'string'"), + ("scope_invalid.yaml", "'scope' is a required property"), + ("social_media_empty.yaml", "[] should be non-empty"), + ("social_media_invalid.yaml", "'https://xyz' is not a 'uri'"), + ("social_media_null.yaml", "None is not of type 'array'"), + ("sponsors_empty.yaml", "[] should be non-empty"), + ("sponsors_invalid.yaml", "'https://xyz' is not a 'uri'"), + ("sponsors_null.yaml", "None is not of type 'array'"), + ("tags_empty.yaml", "[] is too short"), + ("tags_null.yaml", "None is not of type 'array'"), + ("tags_undefined.yaml", "'tags' is a required property"), + ("website_empty.yaml", "'' is not a 'uri'"), + ("website_invalid_url.yaml", "'https://xyz' is not a 'uri'"), + ("website_null.yaml", "None is not a 'uri'"), ], ) def test_negative(committee_schema, file_path, error_message): diff --git a/schema/tests/common/community_test.py b/schema/tests/common/community_test.py index 8d5115e40..af69b37fd 100644 --- a/schema/tests/common/community_test.py +++ b/schema/tests/common/community_test.py @@ -10,16 +10,16 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("description-empty.yaml", "'' is too short"), - ("description-null.yaml", "None is not of type 'string'"), - ("platform-empty.yaml", "'' is not one of ['discord', 'slack']"), - ("platform-invalid.yaml", "'telegram' is not one of ['discord', 'slack']"), - ("platform-null.yaml", "None is not one of ['discord', 'slack']"), - ("platform-undefined.yaml", "'platform' is a required property"), - ("url-empty.yaml", "'' is not a 'uri'"), - ("url-invalid.yaml", "'discord.com/invalid' is not a 'uri'"), - ("url-null.yaml", "None is not a 'uri'"), - ("url-undefined.yaml", "'url' is a required property"), + ("description_empty.yaml", "'' is too short"), + ("description_null.yaml", "None is not of type 'string'"), + ("platform_empty.yaml", "'' is not one of ['discord', 'slack']"), + ("platform_invalid.yaml", "'telegram' is not one of ['discord', 'slack']"), + ("platform_null.yaml", "None is not one of ['discord', 'slack']"), + ("platform_undefined.yaml", "'platform' is a required property"), + ("url_empty.yaml", "'' is not a 'uri'"), + ("url_invalid.yaml", "'discord.com/invalid' is not a 'uri'"), + ("url_null.yaml", "None is not a 'uri'"), + ("url_undefined.yaml", "'url' is a required property"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/common/logo_test.py b/schema/tests/common/logo_test.py index d2f241d7f..034efe650 100644 --- a/schema/tests/common/logo_test.py +++ b/schema/tests/common/logo_test.py @@ -10,18 +10,18 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("large-empty.yaml", "'' is not a 'uri'"), - ("large-invalid.yaml", "'image/large.png' is not a 'uri'"), - ("large-null.yaml", "None is not of type 'string'"), - ("large-undefined.yaml", "'large' is a required property"), - ("medium-empty.yaml", "'' is not a 'uri'"), - ("medium-invalid.yaml", "'image/medium.png' is not a 'uri'"), - ("medium-null.yaml", "None is not of type 'string'"), - ("medium-undefined.yaml", "'medium' is a required property"), - ("small-empty.yaml", "'' is not a 'uri'"), - ("small-invalid.yaml", "'image/small.png' is not a 'uri'"), - ("small-null.yaml", "None is not of type 'string'"), - ("small-undefined.yaml", "'small' is a required property"), + ("large_empty.yaml", "'' is not a 'uri'"), + ("large_invalid.yaml", "'image/large.png' is not a 'uri'"), + ("large_null.yaml", "None is not of type 'string'"), + ("large_undefined.yaml", "'large' is a required property"), + ("medium_empty.yaml", "'' is not a 'uri'"), + ("medium_invalid.yaml", "'image/medium.png' is not a 'uri'"), + ("medium_null.yaml", "None is not of type 'string'"), + ("medium_undefined.yaml", "'medium' is a required property"), + ("small_empty.yaml", "'' is not a 'uri'"), + ("small_invalid.yaml", "'image/small.png' is not a 'uri'"), + ("small_null.yaml", "None is not of type 'string'"), + ("small_undefined.yaml", "'small' is a required property"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/common/person_test.py b/schema/tests/common/person_test.py index 8c7e3545e..d49bd335e 100644 --- a/schema/tests/common/person_test.py +++ b/schema/tests/common/person_test.py @@ -10,17 +10,17 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("email-empty.yaml", "'' is not a 'email'"), - ("email-invalid.yaml", "'name@invalid' is not a 'email'"), - ("email-null.yaml", "None is not a 'email'"), - ("github-empty.yaml", "'' does not match '^[a-zA-Z0-9-]{1,39}$'"), - ("github-invalid.yaml", "'user@name' does not match '^[a-zA-Z0-9-]{1,39}$'"), - ("github-null.yaml", "None is not of type 'string'"), - ("github-undefined.yaml", "'github' is a required property"), - ("name-empty.yaml", "'' is too short"), - ("name-null.yaml", "None is not of type 'string'"), - ("slack-empty.yaml", "'' does not match '^[a-zA-Z0-9._-]{1,21}$'"), - ("slack-null.yaml", "None is not of type 'string'"), + ("email_empty.yaml", "'' is not a 'email'"), + ("email_invalid.yaml", "'name@invalid' is not a 'email'"), + ("email_null.yaml", "None is not a 'email'"), + ("github_empty.yaml", "'' does not match '^[a-zA-Z0-9-]{1,39}$'"), + ("github_invalid.yaml", "'user@name' does not match '^[a-zA-Z0-9-]{1,39}$'"), + ("github_null.yaml", "None is not of type 'string'"), + ("github_undefined.yaml", "'github' is a required property"), + ("name_empty.yaml", "'' is too short"), + ("name_null.yaml", "None is not of type 'string'"), + ("slack_empty.yaml", "'' does not match '^[a-zA-Z0-9._-]{1,21}$'"), + ("slack_null.yaml", "None is not of type 'string'"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/common/repository_test.py b/schema/tests/common/repository_test.py index 5cb7ba191..807e8c2c9 100644 --- a/schema/tests/common/repository_test.py +++ b/schema/tests/common/repository_test.py @@ -10,20 +10,20 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("changelog-empty.yaml", "'' is not a 'uri'"), - ("changelog-null.yaml", "None is not a 'uri'"), - ("code_of_conduct-empty.yaml", "'' is not a 'uri'"), - ("code_of_conduct-null.yaml", "None is not a 'uri'"), - ("contribution_guide-empty.yaml", "'' is not a 'uri'"), - ("contribution_guide-null.yaml", "None is not a 'uri'"), - ("description-empty.yaml", "'' is too short"), - ("description-null.yaml", "None is not of type 'string'"), - ("name-empty.yaml", "'' is too short"), - ("name-null.yaml", "None is not of type 'string'"), - ("url-empty.yaml", "'' is not a 'uri'"), - ("url-invalid.yaml", "'github/repo' is not a 'uri'"), - ("url-null.yaml", "None is not a 'uri'"), - ("url-undefined.yaml", "'url' is a required property"), + ("changelog_empty.yaml", "'' is not a 'uri'"), + ("changelog_null.yaml", "None is not a 'uri'"), + ("code_of_conduct_empty.yaml", "'' is not a 'uri'"), + ("code_of_conduct_null.yaml", "None is not a 'uri'"), + ("contribution_guide_empty.yaml", "'' is not a 'uri'"), + ("contribution_guide_null.yaml", "None is not a 'uri'"), + ("description_empty.yaml", "'' is too short"), + ("description_null.yaml", "None is not of type 'string'"), + ("name_empty.yaml", "'' is too short"), + ("name_null.yaml", "None is not of type 'string'"), + ("url_empty.yaml", "'' is not a 'uri'"), + ("url_invalid.yaml", "'github/repo' is not a 'uri'"), + ("url_null.yaml", "None is not a 'uri'"), + ("url_undefined.yaml", "'url' is a required property"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/common/social_media_test.py b/schema/tests/common/social_media_test.py index b2fddd231..fa6cc9f27 100644 --- a/schema/tests/common/social_media_test.py +++ b/schema/tests/common/social_media_test.py @@ -10,25 +10,25 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("description-empty.yaml", "'' is too short"), - ("description-null.yaml", "None is not of type 'string'"), + ("description_empty.yaml", "'' is too short"), + ("description_null.yaml", "None is not of type 'string'"), ( - "platform-empty.yaml", + "platform_empty.yaml", "'' is not one of ['bluesky', 'linkedin', 'x', 'youtube']", ), ( - "platform-invalid.yaml", + "platform_invalid.yaml", "'bitcoin' is not one of ['bluesky', 'linkedin', 'x', 'youtube']", ), ( - "platform-null.yaml", + "platform_null.yaml", "None is not one of ['bluesky', 'linkedin', 'x', 'youtube']", ), - ("platform-undefined.yaml", "'platform' is a required property"), - ("url-empty.yaml", "'' is not a 'uri'"), - ("url-invalid.yaml", "'https://bsky' is not a 'uri'"), - ("url-null.yaml", "None is not of type 'string'"), - ("url-undefined.yaml", "'url' is a required property"), + ("platform_undefined.yaml", "'platform' is a required property"), + ("url_empty.yaml", "'' is not a 'uri'"), + ("url_invalid.yaml", "'https://bsky' is not a 'uri'"), + ("url_null.yaml", "None is not of type 'string'"), + ("url_undefined.yaml", "'url' is a required property"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/common/sponsor_test.py b/schema/tests/common/sponsor_test.py index bdfd5cb1b..422002dd4 100644 --- a/schema/tests/common/sponsor_test.py +++ b/schema/tests/common/sponsor_test.py @@ -10,16 +10,16 @@ @pytest.mark.parametrize( ("file_path", "error_message"), [ - ("description-empty.yaml", "'' is too short"), - ("description-null.yaml", "None is not of type 'string'"), - ("logo-empty.yaml", "'' is not a 'uri'"), - ("logo-null.yaml", "None is not a 'uri'"), - ("name-empty.yaml", "'' is too short"), - ("name-null.yaml", "None is not of type 'string'"), - ("name-undefined.yaml", "'name' is a required property"), - ("url-empty.yaml", "'' is not a 'uri'"), - ("url-null.yaml", "None is not a 'uri'"), - ("url-undefined.yaml", "'url' is a required property"), + ("description_empty.yaml", "'' is too short"), + ("description_null.yaml", "None is not of type 'string'"), + ("logo_empty.yaml", "'' is not a 'uri'"), + ("logo_null.yaml", "None is not a 'uri'"), + ("name_empty.yaml", "'' is too short"), + ("name_null.yaml", "None is not of type 'string'"), + ("name_undefined.yaml", "'name' is a required property"), + ("url_empty.yaml", "'' is not a 'uri'"), + ("url_null.yaml", "None is not a 'uri'"), + ("url_undefined.yaml", "'url' is a required property"), ], ) def test_negative(common_schema, file_path, error_message): diff --git a/schema/tests/data/chapter/negative/blog-empty.yaml b/schema/tests/data/chapter/negative/blog_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/blog-empty.yaml rename to schema/tests/data/chapter/negative/blog_empty.yaml diff --git a/schema/tests/data/chapter/negative/blog-invalid.yaml b/schema/tests/data/chapter/negative/blog_invalid.yaml similarity index 100% rename from schema/tests/data/chapter/negative/blog-invalid.yaml rename to schema/tests/data/chapter/negative/blog_invalid.yaml diff --git a/schema/tests/data/chapter/negative/blog-null.yaml b/schema/tests/data/chapter/negative/blog_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/blog-null.yaml rename to schema/tests/data/chapter/negative/blog_null.yaml diff --git a/schema/tests/data/chapter/negative/community-empty.yaml b/schema/tests/data/chapter/negative/community_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/community-empty.yaml rename to schema/tests/data/chapter/negative/community_empty.yaml diff --git a/schema/tests/data/chapter/negative/community-non-unique.yaml b/schema/tests/data/chapter/negative/community_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/community-non-unique.yaml rename to schema/tests/data/chapter/negative/community_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/community-null.yaml b/schema/tests/data/chapter/negative/community_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/community-null.yaml rename to schema/tests/data/chapter/negative/community_null.yaml diff --git a/schema/tests/data/chapter/negative/country-empty.yaml b/schema/tests/data/chapter/negative/country_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/country-empty.yaml rename to schema/tests/data/chapter/negative/country_empty.yaml diff --git a/schema/tests/data/chapter/negative/country-null.yaml b/schema/tests/data/chapter/negative/country_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/country-null.yaml rename to schema/tests/data/chapter/negative/country_null.yaml diff --git a/schema/tests/data/chapter/negative/country-undefined.yaml b/schema/tests/data/chapter/negative/country_undefined.yaml similarity index 100% rename from schema/tests/data/chapter/negative/country-undefined.yaml rename to schema/tests/data/chapter/negative/country_undefined.yaml diff --git a/schema/tests/data/chapter/negative/events-empty.yaml b/schema/tests/data/chapter/negative/events_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/events-empty.yaml rename to schema/tests/data/chapter/negative/events_empty.yaml diff --git a/schema/tests/data/chapter/negative/events-non-unique.yaml b/schema/tests/data/chapter/negative/events_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/events-non-unique.yaml rename to schema/tests/data/chapter/negative/events_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/events-null.yaml b/schema/tests/data/chapter/negative/events_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/events-null.yaml rename to schema/tests/data/chapter/negative/events_null.yaml diff --git a/schema/tests/data/chapter/negative/leaders-empty.yaml b/schema/tests/data/chapter/negative/leaders_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/leaders-empty.yaml rename to schema/tests/data/chapter/negative/leaders_empty.yaml diff --git a/schema/tests/data/chapter/negative/leaders-non-unique.yaml b/schema/tests/data/chapter/negative/leaders_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/leaders-non-unique.yaml rename to schema/tests/data/chapter/negative/leaders_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/leaders-null.yaml b/schema/tests/data/chapter/negative/leaders_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/leaders-null.yaml rename to schema/tests/data/chapter/negative/leaders_null.yaml diff --git a/schema/tests/data/chapter/negative/leaders-undefined.yaml b/schema/tests/data/chapter/negative/leaders_undefined.yaml similarity index 100% rename from schema/tests/data/chapter/negative/leaders-undefined.yaml rename to schema/tests/data/chapter/negative/leaders_undefined.yaml diff --git a/schema/tests/data/chapter/negative/logo-empty.yaml b/schema/tests/data/chapter/negative/logo_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/logo-empty.yaml rename to schema/tests/data/chapter/negative/logo_empty.yaml diff --git a/schema/tests/data/chapter/negative/logo-non-unique.yaml b/schema/tests/data/chapter/negative/logo_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/logo-non-unique.yaml rename to schema/tests/data/chapter/negative/logo_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/logo-null.yaml b/schema/tests/data/chapter/negative/logo_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/logo-null.yaml rename to schema/tests/data/chapter/negative/logo_null.yaml diff --git a/schema/tests/data/chapter/negative/meetup_group-empty.yaml b/schema/tests/data/chapter/negative/meetup_group_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/meetup_group-empty.yaml rename to schema/tests/data/chapter/negative/meetup_group_empty.yaml diff --git a/schema/tests/data/chapter/negative/meetup_group-null.yaml b/schema/tests/data/chapter/negative/meetup_group_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/meetup_group-null.yaml rename to schema/tests/data/chapter/negative/meetup_group_null.yaml diff --git a/schema/tests/data/chapter/negative/name-empty.yaml b/schema/tests/data/chapter/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/name-empty.yaml rename to schema/tests/data/chapter/negative/name_empty.yaml diff --git a/schema/tests/data/chapter/negative/name-null.yaml b/schema/tests/data/chapter/negative/name_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/name-null.yaml rename to schema/tests/data/chapter/negative/name_null.yaml diff --git a/schema/tests/data/chapter/negative/name-undefined.yaml b/schema/tests/data/chapter/negative/name_undefined.yaml similarity index 100% rename from schema/tests/data/chapter/negative/name-undefined.yaml rename to schema/tests/data/chapter/negative/name_undefined.yaml diff --git a/schema/tests/data/chapter/negative/region-empty.yaml b/schema/tests/data/chapter/negative/region_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/region-empty.yaml rename to schema/tests/data/chapter/negative/region_empty.yaml diff --git a/schema/tests/data/chapter/negative/region-null.yaml b/schema/tests/data/chapter/negative/region_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/region-null.yaml rename to schema/tests/data/chapter/negative/region_null.yaml diff --git a/schema/tests/data/chapter/negative/social-media-empty.yaml b/schema/tests/data/chapter/negative/social_media_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/social-media-empty.yaml rename to schema/tests/data/chapter/negative/social_media_empty.yaml diff --git a/schema/tests/data/chapter/negative/social-media-non-unique.yaml b/schema/tests/data/chapter/negative/social_media_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/social-media-non-unique.yaml rename to schema/tests/data/chapter/negative/social_media_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/social-media-null.yaml b/schema/tests/data/chapter/negative/social_media_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/social-media-null.yaml rename to schema/tests/data/chapter/negative/social_media_null.yaml diff --git a/schema/tests/data/chapter/negative/sponsors-empty.yaml b/schema/tests/data/chapter/negative/sponsors_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/sponsors-empty.yaml rename to schema/tests/data/chapter/negative/sponsors_empty.yaml diff --git a/schema/tests/data/chapter/negative/sponsors-non-unique.yaml b/schema/tests/data/chapter/negative/sponsors_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/sponsors-non-unique.yaml rename to schema/tests/data/chapter/negative/sponsors_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/sponsors-null.yaml b/schema/tests/data/chapter/negative/sponsors_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/sponsors-null.yaml rename to schema/tests/data/chapter/negative/sponsors_null.yaml diff --git a/schema/tests/data/chapter/negative/tags-empty.yaml b/schema/tests/data/chapter/negative/tags_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/tags-empty.yaml rename to schema/tests/data/chapter/negative/tags_empty.yaml diff --git a/schema/tests/data/chapter/negative/tags-non-unique.yaml b/schema/tests/data/chapter/negative/tags_non_unique.yaml similarity index 100% rename from schema/tests/data/chapter/negative/tags-non-unique.yaml rename to schema/tests/data/chapter/negative/tags_non_unique.yaml diff --git a/schema/tests/data/chapter/negative/tags-null.yaml b/schema/tests/data/chapter/negative/tags_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/tags-null.yaml rename to schema/tests/data/chapter/negative/tags_null.yaml diff --git a/schema/tests/data/chapter/negative/tags-undefined.yaml b/schema/tests/data/chapter/negative/tags_undefined.yaml similarity index 100% rename from schema/tests/data/chapter/negative/tags-undefined.yaml rename to schema/tests/data/chapter/negative/tags_undefined.yaml diff --git a/schema/tests/data/chapter/negative/website-empty.yaml b/schema/tests/data/chapter/negative/website_empty.yaml similarity index 100% rename from schema/tests/data/chapter/negative/website-empty.yaml rename to schema/tests/data/chapter/negative/website_empty.yaml diff --git a/schema/tests/data/chapter/negative/website-null.yaml b/schema/tests/data/chapter/negative/website_null.yaml similarity index 100% rename from schema/tests/data/chapter/negative/website-null.yaml rename to schema/tests/data/chapter/negative/website_null.yaml diff --git a/schema/tests/data/chapter/positive/optional-properties.yaml b/schema/tests/data/chapter/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/chapter/positive/optional-properties.yaml rename to schema/tests/data/chapter/positive/optional_properties.yaml diff --git a/schema/tests/data/chapter/positive/required-properties.yaml b/schema/tests/data/chapter/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/chapter/positive/required-properties.yaml rename to schema/tests/data/chapter/positive/required_properties.yaml diff --git a/schema/tests/data/committee/negative/community-empty.yaml b/schema/tests/data/committee/negative/community_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/community-empty.yaml rename to schema/tests/data/committee/negative/community_empty.yaml diff --git a/schema/tests/data/committee/negative/community-non-unique.yaml b/schema/tests/data/committee/negative/community_non_unique.yaml similarity index 100% rename from schema/tests/data/committee/negative/community-non-unique.yaml rename to schema/tests/data/committee/negative/community_non_unique.yaml diff --git a/schema/tests/data/committee/negative/community-null.yaml b/schema/tests/data/committee/negative/community_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/community-null.yaml rename to schema/tests/data/committee/negative/community_null.yaml diff --git a/schema/tests/data/committee/negative/description-null.yaml b/schema/tests/data/committee/negative/description_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/description-null.yaml rename to schema/tests/data/committee/negative/description_null.yaml diff --git a/schema/tests/data/committee/negative/description-undefined.yaml b/schema/tests/data/committee/negative/description_undefined.yaml similarity index 100% rename from schema/tests/data/committee/negative/description-undefined.yaml rename to schema/tests/data/committee/negative/description_undefined.yaml diff --git a/schema/tests/data/committee/negative/events-empty.yaml b/schema/tests/data/committee/negative/events_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/events-empty.yaml rename to schema/tests/data/committee/negative/events_empty.yaml diff --git a/schema/tests/data/committee/negative/events-invalid.yaml b/schema/tests/data/committee/negative/events_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/events-invalid.yaml rename to schema/tests/data/committee/negative/events_invalid.yaml diff --git a/schema/tests/data/committee/negative/events-non-unique.yaml b/schema/tests/data/committee/negative/events_non_unique.yaml similarity index 100% rename from schema/tests/data/committee/negative/events-non-unique.yaml rename to schema/tests/data/committee/negative/events_non_unique.yaml diff --git a/schema/tests/data/committee/negative/events-null.yaml b/schema/tests/data/committee/negative/events_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/events-null.yaml rename to schema/tests/data/committee/negative/events_null.yaml diff --git a/schema/tests/data/committee/negative/group-mail-empty.yaml b/schema/tests/data/committee/negative/group_mail_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/group-mail-empty.yaml rename to schema/tests/data/committee/negative/group_mail_empty.yaml diff --git a/schema/tests/data/committee/negative/group-mail-null.yaml b/schema/tests/data/committee/negative/group_mail_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/group-mail-null.yaml rename to schema/tests/data/committee/negative/group_mail_null.yaml diff --git a/schema/tests/data/committee/negative/logo-empty.yaml b/schema/tests/data/committee/negative/logo_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/logo-empty.yaml rename to schema/tests/data/committee/negative/logo_empty.yaml diff --git a/schema/tests/data/committee/negative/logo-non-unique.yaml b/schema/tests/data/committee/negative/logo_non_unique.yaml similarity index 100% rename from schema/tests/data/committee/negative/logo-non-unique.yaml rename to schema/tests/data/committee/negative/logo_non_unique.yaml diff --git a/schema/tests/data/committee/negative/logo-null.yaml b/schema/tests/data/committee/negative/logo_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/logo-null.yaml rename to schema/tests/data/committee/negative/logo_null.yaml diff --git a/schema/tests/data/committee/negative/meeting-minutes-invalid.yaml b/schema/tests/data/committee/negative/meeting_minutes_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/meeting-minutes-invalid.yaml rename to schema/tests/data/committee/negative/meeting_minutes_invalid.yaml diff --git a/schema/tests/data/committee/negative/meeting-minutes-null.yaml b/schema/tests/data/committee/negative/meeting_minutes_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/meeting-minutes-null.yaml rename to schema/tests/data/committee/negative/meeting_minutes_null.yaml diff --git a/schema/tests/data/committee/negative/members-empty.yaml b/schema/tests/data/committee/negative/members_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/members-empty.yaml rename to schema/tests/data/committee/negative/members_empty.yaml diff --git a/schema/tests/data/committee/negative/members-null.yaml b/schema/tests/data/committee/negative/members_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/members-null.yaml rename to schema/tests/data/committee/negative/members_null.yaml diff --git a/schema/tests/data/committee/negative/members-undefined.yaml b/schema/tests/data/committee/negative/members_undefined.yaml similarity index 100% rename from schema/tests/data/committee/negative/members-undefined.yaml rename to schema/tests/data/committee/negative/members_undefined.yaml diff --git a/schema/tests/data/committee/negative/name-empty.yaml b/schema/tests/data/committee/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/name-empty.yaml rename to schema/tests/data/committee/negative/name_empty.yaml diff --git a/schema/tests/data/committee/negative/name-undefined.yaml b/schema/tests/data/committee/negative/name_undefined.yaml similarity index 100% rename from schema/tests/data/committee/negative/name-undefined.yaml rename to schema/tests/data/committee/negative/name_undefined.yaml diff --git a/schema/tests/data/committee/negative/resources-invalid.yaml b/schema/tests/data/committee/negative/resources_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/resources-invalid.yaml rename to schema/tests/data/committee/negative/resources_invalid.yaml diff --git a/schema/tests/data/committee/negative/resources-null.yaml b/schema/tests/data/committee/negative/resources_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/resources-null.yaml rename to schema/tests/data/committee/negative/resources_null.yaml diff --git a/schema/tests/data/committee/negative/scope-invalid.yaml b/schema/tests/data/committee/negative/scope_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/scope-invalid.yaml rename to schema/tests/data/committee/negative/scope_invalid.yaml diff --git a/schema/tests/data/committee/negative/scope-null.yaml b/schema/tests/data/committee/negative/scope_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/scope-null.yaml rename to schema/tests/data/committee/negative/scope_null.yaml diff --git a/schema/tests/data/committee/negative/social-media-empty.yaml b/schema/tests/data/committee/negative/social_media_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/social-media-empty.yaml rename to schema/tests/data/committee/negative/social_media_empty.yaml diff --git a/schema/tests/data/committee/negative/social-media-invalid.yaml b/schema/tests/data/committee/negative/social_media_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/social-media-invalid.yaml rename to schema/tests/data/committee/negative/social_media_invalid.yaml diff --git a/schema/tests/data/committee/negative/social-media-null.yaml b/schema/tests/data/committee/negative/social_media_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/social-media-null.yaml rename to schema/tests/data/committee/negative/social_media_null.yaml diff --git a/schema/tests/data/committee/negative/sponsors-empty.yaml b/schema/tests/data/committee/negative/sponsors_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/sponsors-empty.yaml rename to schema/tests/data/committee/negative/sponsors_empty.yaml diff --git a/schema/tests/data/committee/negative/sponsors-invalid.yaml b/schema/tests/data/committee/negative/sponsors_invalid.yaml similarity index 100% rename from schema/tests/data/committee/negative/sponsors-invalid.yaml rename to schema/tests/data/committee/negative/sponsors_invalid.yaml diff --git a/schema/tests/data/committee/negative/sponsors-null.yaml b/schema/tests/data/committee/negative/sponsors_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/sponsors-null.yaml rename to schema/tests/data/committee/negative/sponsors_null.yaml diff --git a/schema/tests/data/committee/negative/tags-empty.yaml b/schema/tests/data/committee/negative/tags_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/tags-empty.yaml rename to schema/tests/data/committee/negative/tags_empty.yaml diff --git a/schema/tests/data/committee/negative/tags-null.yaml b/schema/tests/data/committee/negative/tags_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/tags-null.yaml rename to schema/tests/data/committee/negative/tags_null.yaml diff --git a/schema/tests/data/committee/negative/tags-undefined.yaml b/schema/tests/data/committee/negative/tags_undefined.yaml similarity index 100% rename from schema/tests/data/committee/negative/tags-undefined.yaml rename to schema/tests/data/committee/negative/tags_undefined.yaml diff --git a/schema/tests/data/committee/negative/website-empty.yaml b/schema/tests/data/committee/negative/website_empty.yaml similarity index 100% rename from schema/tests/data/committee/negative/website-empty.yaml rename to schema/tests/data/committee/negative/website_empty.yaml diff --git a/schema/tests/data/committee/negative/website-invalid-url.yaml b/schema/tests/data/committee/negative/website_invalid_url.yaml similarity index 100% rename from schema/tests/data/committee/negative/website-invalid-url.yaml rename to schema/tests/data/committee/negative/website_invalid_url.yaml diff --git a/schema/tests/data/committee/negative/website-null.yaml b/schema/tests/data/committee/negative/website_null.yaml similarity index 100% rename from schema/tests/data/committee/negative/website-null.yaml rename to schema/tests/data/committee/negative/website_null.yaml diff --git a/schema/tests/data/committee/positive/optional-properties.yaml b/schema/tests/data/committee/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/committee/positive/optional-properties.yaml rename to schema/tests/data/committee/positive/optional_properties.yaml diff --git a/schema/tests/data/committee/positive/required-properties.yaml b/schema/tests/data/committee/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/committee/positive/required-properties.yaml rename to schema/tests/data/committee/positive/required_properties.yaml diff --git a/schema/tests/data/common/community/negative/description-empty.yaml b/schema/tests/data/common/community/negative/description_empty.yaml similarity index 100% rename from schema/tests/data/common/community/negative/description-empty.yaml rename to schema/tests/data/common/community/negative/description_empty.yaml diff --git a/schema/tests/data/common/community/negative/description-null.yaml b/schema/tests/data/common/community/negative/description_null.yaml similarity index 100% rename from schema/tests/data/common/community/negative/description-null.yaml rename to schema/tests/data/common/community/negative/description_null.yaml diff --git a/schema/tests/data/common/community/negative/platform-empty.yaml b/schema/tests/data/common/community/negative/platform_empty.yaml similarity index 100% rename from schema/tests/data/common/community/negative/platform-empty.yaml rename to schema/tests/data/common/community/negative/platform_empty.yaml diff --git a/schema/tests/data/common/community/negative/platform-invalid.yaml b/schema/tests/data/common/community/negative/platform_invalid.yaml similarity index 100% rename from schema/tests/data/common/community/negative/platform-invalid.yaml rename to schema/tests/data/common/community/negative/platform_invalid.yaml diff --git a/schema/tests/data/common/community/negative/platform-null.yaml b/schema/tests/data/common/community/negative/platform_null.yaml similarity index 100% rename from schema/tests/data/common/community/negative/platform-null.yaml rename to schema/tests/data/common/community/negative/platform_null.yaml diff --git a/schema/tests/data/common/community/negative/platform-undefined.yaml b/schema/tests/data/common/community/negative/platform_undefined.yaml similarity index 100% rename from schema/tests/data/common/community/negative/platform-undefined.yaml rename to schema/tests/data/common/community/negative/platform_undefined.yaml diff --git a/schema/tests/data/common/community/negative/url-empty.yaml b/schema/tests/data/common/community/negative/url_empty.yaml similarity index 100% rename from schema/tests/data/common/community/negative/url-empty.yaml rename to schema/tests/data/common/community/negative/url_empty.yaml diff --git a/schema/tests/data/common/community/negative/url-invalid.yaml b/schema/tests/data/common/community/negative/url_invalid.yaml similarity index 100% rename from schema/tests/data/common/community/negative/url-invalid.yaml rename to schema/tests/data/common/community/negative/url_invalid.yaml diff --git a/schema/tests/data/common/community/negative/url-null.yaml b/schema/tests/data/common/community/negative/url_null.yaml similarity index 100% rename from schema/tests/data/common/community/negative/url-null.yaml rename to schema/tests/data/common/community/negative/url_null.yaml diff --git a/schema/tests/data/common/community/negative/url-undefined.yaml b/schema/tests/data/common/community/negative/url_undefined.yaml similarity index 100% rename from schema/tests/data/common/community/negative/url-undefined.yaml rename to schema/tests/data/common/community/negative/url_undefined.yaml diff --git a/schema/tests/data/common/community/positive/optional-properties.yaml b/schema/tests/data/common/community/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/common/community/positive/optional-properties.yaml rename to schema/tests/data/common/community/positive/optional_properties.yaml diff --git a/schema/tests/data/common/community/positive/required-properties.yaml b/schema/tests/data/common/community/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/community/positive/required-properties.yaml rename to schema/tests/data/common/community/positive/required_properties.yaml diff --git a/schema/tests/data/common/logo/negative/large-empty.yaml b/schema/tests/data/common/logo/negative/large_empty.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/large-empty.yaml rename to schema/tests/data/common/logo/negative/large_empty.yaml diff --git a/schema/tests/data/common/logo/negative/large-invalid.yaml b/schema/tests/data/common/logo/negative/large_invalid.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/large-invalid.yaml rename to schema/tests/data/common/logo/negative/large_invalid.yaml diff --git a/schema/tests/data/common/logo/negative/large-null.yaml b/schema/tests/data/common/logo/negative/large_null.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/large-null.yaml rename to schema/tests/data/common/logo/negative/large_null.yaml diff --git a/schema/tests/data/common/logo/negative/large-undefined.yaml b/schema/tests/data/common/logo/negative/large_undefined.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/large-undefined.yaml rename to schema/tests/data/common/logo/negative/large_undefined.yaml diff --git a/schema/tests/data/common/logo/negative/medium-empty.yaml b/schema/tests/data/common/logo/negative/medium_empty.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/medium-empty.yaml rename to schema/tests/data/common/logo/negative/medium_empty.yaml diff --git a/schema/tests/data/common/logo/negative/medium-invalid.yaml b/schema/tests/data/common/logo/negative/medium_invalid.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/medium-invalid.yaml rename to schema/tests/data/common/logo/negative/medium_invalid.yaml diff --git a/schema/tests/data/common/logo/negative/medium-null.yaml b/schema/tests/data/common/logo/negative/medium_null.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/medium-null.yaml rename to schema/tests/data/common/logo/negative/medium_null.yaml diff --git a/schema/tests/data/common/logo/negative/medium-undefined.yaml b/schema/tests/data/common/logo/negative/medium_undefined.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/medium-undefined.yaml rename to schema/tests/data/common/logo/negative/medium_undefined.yaml diff --git a/schema/tests/data/common/logo/negative/small-empty.yaml b/schema/tests/data/common/logo/negative/small_empty.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/small-empty.yaml rename to schema/tests/data/common/logo/negative/small_empty.yaml diff --git a/schema/tests/data/common/logo/negative/small-invalid.yaml b/schema/tests/data/common/logo/negative/small_invalid.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/small-invalid.yaml rename to schema/tests/data/common/logo/negative/small_invalid.yaml diff --git a/schema/tests/data/common/logo/negative/small-null.yaml b/schema/tests/data/common/logo/negative/small_null.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/small-null.yaml rename to schema/tests/data/common/logo/negative/small_null.yaml diff --git a/schema/tests/data/common/logo/negative/small-undefined.yaml b/schema/tests/data/common/logo/negative/small_undefined.yaml similarity index 100% rename from schema/tests/data/common/logo/negative/small-undefined.yaml rename to schema/tests/data/common/logo/negative/small_undefined.yaml diff --git a/schema/tests/data/common/logo/positive/required-properties.yaml b/schema/tests/data/common/logo/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/logo/positive/required-properties.yaml rename to schema/tests/data/common/logo/positive/required_properties.yaml diff --git a/schema/tests/data/common/person/negative/email-empty.yaml b/schema/tests/data/common/person/negative/email_empty.yaml similarity index 100% rename from schema/tests/data/common/person/negative/email-empty.yaml rename to schema/tests/data/common/person/negative/email_empty.yaml diff --git a/schema/tests/data/common/person/negative/email-invalid.yaml b/schema/tests/data/common/person/negative/email_invalid.yaml similarity index 100% rename from schema/tests/data/common/person/negative/email-invalid.yaml rename to schema/tests/data/common/person/negative/email_invalid.yaml diff --git a/schema/tests/data/common/person/negative/email-null.yaml b/schema/tests/data/common/person/negative/email_null.yaml similarity index 100% rename from schema/tests/data/common/person/negative/email-null.yaml rename to schema/tests/data/common/person/negative/email_null.yaml diff --git a/schema/tests/data/common/person/negative/github-empty.yaml b/schema/tests/data/common/person/negative/github_empty.yaml similarity index 100% rename from schema/tests/data/common/person/negative/github-empty.yaml rename to schema/tests/data/common/person/negative/github_empty.yaml diff --git a/schema/tests/data/common/person/negative/github-invalid.yaml b/schema/tests/data/common/person/negative/github_invalid.yaml similarity index 100% rename from schema/tests/data/common/person/negative/github-invalid.yaml rename to schema/tests/data/common/person/negative/github_invalid.yaml diff --git a/schema/tests/data/common/person/negative/github-null.yaml b/schema/tests/data/common/person/negative/github_null.yaml similarity index 100% rename from schema/tests/data/common/person/negative/github-null.yaml rename to schema/tests/data/common/person/negative/github_null.yaml diff --git a/schema/tests/data/common/person/negative/github-undefined.yaml b/schema/tests/data/common/person/negative/github_undefined.yaml similarity index 100% rename from schema/tests/data/common/person/negative/github-undefined.yaml rename to schema/tests/data/common/person/negative/github_undefined.yaml diff --git a/schema/tests/data/common/person/negative/name-empty.yaml b/schema/tests/data/common/person/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/common/person/negative/name-empty.yaml rename to schema/tests/data/common/person/negative/name_empty.yaml diff --git a/schema/tests/data/common/person/negative/name-null.yaml b/schema/tests/data/common/person/negative/name_null.yaml similarity index 100% rename from schema/tests/data/common/person/negative/name-null.yaml rename to schema/tests/data/common/person/negative/name_null.yaml diff --git a/schema/tests/data/common/person/negative/slack-empty.yaml b/schema/tests/data/common/person/negative/slack_empty.yaml similarity index 100% rename from schema/tests/data/common/person/negative/slack-empty.yaml rename to schema/tests/data/common/person/negative/slack_empty.yaml diff --git a/schema/tests/data/common/person/negative/slack-null.yaml b/schema/tests/data/common/person/negative/slack_null.yaml similarity index 100% rename from schema/tests/data/common/person/negative/slack-null.yaml rename to schema/tests/data/common/person/negative/slack_null.yaml diff --git a/schema/tests/data/common/person/positive/optional-properties.yaml b/schema/tests/data/common/person/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/common/person/positive/optional-properties.yaml rename to schema/tests/data/common/person/positive/optional_properties.yaml diff --git a/schema/tests/data/common/person/positive/required-properties.yaml b/schema/tests/data/common/person/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/person/positive/required-properties.yaml rename to schema/tests/data/common/person/positive/required_properties.yaml diff --git a/schema/tests/data/common/repository/negative/changelog-empty.yaml b/schema/tests/data/common/repository/negative/changelog_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/changelog-empty.yaml rename to schema/tests/data/common/repository/negative/changelog_empty.yaml diff --git a/schema/tests/data/common/repository/negative/changelog-null.yaml b/schema/tests/data/common/repository/negative/changelog_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/changelog-null.yaml rename to schema/tests/data/common/repository/negative/changelog_null.yaml diff --git a/schema/tests/data/common/repository/negative/code_of_conduct-empty.yaml b/schema/tests/data/common/repository/negative/code_of_conduct_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/code_of_conduct-empty.yaml rename to schema/tests/data/common/repository/negative/code_of_conduct_empty.yaml diff --git a/schema/tests/data/common/repository/negative/code_of_conduct-null.yaml b/schema/tests/data/common/repository/negative/code_of_conduct_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/code_of_conduct-null.yaml rename to schema/tests/data/common/repository/negative/code_of_conduct_null.yaml diff --git a/schema/tests/data/common/repository/negative/contribution_guide-empty.yaml b/schema/tests/data/common/repository/negative/contribution_guide_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/contribution_guide-empty.yaml rename to schema/tests/data/common/repository/negative/contribution_guide_empty.yaml diff --git a/schema/tests/data/common/repository/negative/contribution_guide-null.yaml b/schema/tests/data/common/repository/negative/contribution_guide_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/contribution_guide-null.yaml rename to schema/tests/data/common/repository/negative/contribution_guide_null.yaml diff --git a/schema/tests/data/common/repository/negative/description-empty.yaml b/schema/tests/data/common/repository/negative/description_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/description-empty.yaml rename to schema/tests/data/common/repository/negative/description_empty.yaml diff --git a/schema/tests/data/common/repository/negative/description-null.yaml b/schema/tests/data/common/repository/negative/description_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/description-null.yaml rename to schema/tests/data/common/repository/negative/description_null.yaml diff --git a/schema/tests/data/common/repository/negative/name-empty.yaml b/schema/tests/data/common/repository/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/name-empty.yaml rename to schema/tests/data/common/repository/negative/name_empty.yaml diff --git a/schema/tests/data/common/repository/negative/name-null.yaml b/schema/tests/data/common/repository/negative/name_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/name-null.yaml rename to schema/tests/data/common/repository/negative/name_null.yaml diff --git a/schema/tests/data/common/repository/negative/url-empty.yaml b/schema/tests/data/common/repository/negative/url_empty.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/url-empty.yaml rename to schema/tests/data/common/repository/negative/url_empty.yaml diff --git a/schema/tests/data/common/repository/negative/url-invalid.yaml b/schema/tests/data/common/repository/negative/url_invalid.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/url-invalid.yaml rename to schema/tests/data/common/repository/negative/url_invalid.yaml diff --git a/schema/tests/data/common/repository/negative/url-null.yaml b/schema/tests/data/common/repository/negative/url_null.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/url-null.yaml rename to schema/tests/data/common/repository/negative/url_null.yaml diff --git a/schema/tests/data/common/repository/negative/url-undefined.yaml b/schema/tests/data/common/repository/negative/url_undefined.yaml similarity index 100% rename from schema/tests/data/common/repository/negative/url-undefined.yaml rename to schema/tests/data/common/repository/negative/url_undefined.yaml diff --git a/schema/tests/data/common/repository/positive/optional-properties.yaml b/schema/tests/data/common/repository/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/common/repository/positive/optional-properties.yaml rename to schema/tests/data/common/repository/positive/optional_properties.yaml diff --git a/schema/tests/data/common/repository/positive/required-properties.yaml b/schema/tests/data/common/repository/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/repository/positive/required-properties.yaml rename to schema/tests/data/common/repository/positive/required_properties.yaml diff --git a/schema/tests/data/common/social_media/negative/description-empty.yaml b/schema/tests/data/common/social_media/negative/description_empty.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/description-empty.yaml rename to schema/tests/data/common/social_media/negative/description_empty.yaml diff --git a/schema/tests/data/common/social_media/negative/description-null.yaml b/schema/tests/data/common/social_media/negative/description_null.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/description-null.yaml rename to schema/tests/data/common/social_media/negative/description_null.yaml diff --git a/schema/tests/data/common/social_media/negative/platform-empty.yaml b/schema/tests/data/common/social_media/negative/platform_empty.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/platform-empty.yaml rename to schema/tests/data/common/social_media/negative/platform_empty.yaml diff --git a/schema/tests/data/common/social_media/negative/platform-invalid.yaml b/schema/tests/data/common/social_media/negative/platform_invalid.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/platform-invalid.yaml rename to schema/tests/data/common/social_media/negative/platform_invalid.yaml diff --git a/schema/tests/data/common/social_media/negative/platform-null.yaml b/schema/tests/data/common/social_media/negative/platform_null.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/platform-null.yaml rename to schema/tests/data/common/social_media/negative/platform_null.yaml diff --git a/schema/tests/data/common/social_media/negative/platform-undefined.yaml b/schema/tests/data/common/social_media/negative/platform_undefined.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/platform-undefined.yaml rename to schema/tests/data/common/social_media/negative/platform_undefined.yaml diff --git a/schema/tests/data/common/social_media/negative/url-empty.yaml b/schema/tests/data/common/social_media/negative/url_empty.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/url-empty.yaml rename to schema/tests/data/common/social_media/negative/url_empty.yaml diff --git a/schema/tests/data/common/social_media/negative/url-invalid.yaml b/schema/tests/data/common/social_media/negative/url_invalid.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/url-invalid.yaml rename to schema/tests/data/common/social_media/negative/url_invalid.yaml diff --git a/schema/tests/data/common/social_media/negative/url-null.yaml b/schema/tests/data/common/social_media/negative/url_null.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/url-null.yaml rename to schema/tests/data/common/social_media/negative/url_null.yaml diff --git a/schema/tests/data/common/social_media/negative/url-undefined.yaml b/schema/tests/data/common/social_media/negative/url_undefined.yaml similarity index 100% rename from schema/tests/data/common/social_media/negative/url-undefined.yaml rename to schema/tests/data/common/social_media/negative/url_undefined.yaml diff --git a/schema/tests/data/common/social_media/positive/optional-properties.yaml b/schema/tests/data/common/social_media/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/common/social_media/positive/optional-properties.yaml rename to schema/tests/data/common/social_media/positive/optional_properties.yaml diff --git a/schema/tests/data/common/social_media/positive/required-properties.yaml b/schema/tests/data/common/social_media/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/social_media/positive/required-properties.yaml rename to schema/tests/data/common/social_media/positive/required_properties.yaml diff --git a/schema/tests/data/common/sponsor/negative/description-empty.yaml b/schema/tests/data/common/sponsor/negative/description_empty.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/description-empty.yaml rename to schema/tests/data/common/sponsor/negative/description_empty.yaml diff --git a/schema/tests/data/common/sponsor/negative/description-null.yaml b/schema/tests/data/common/sponsor/negative/description_null.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/description-null.yaml rename to schema/tests/data/common/sponsor/negative/description_null.yaml diff --git a/schema/tests/data/common/sponsor/negative/logo-empty.yaml b/schema/tests/data/common/sponsor/negative/logo_empty.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/logo-empty.yaml rename to schema/tests/data/common/sponsor/negative/logo_empty.yaml diff --git a/schema/tests/data/common/sponsor/negative/logo-null.yaml b/schema/tests/data/common/sponsor/negative/logo_null.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/logo-null.yaml rename to schema/tests/data/common/sponsor/negative/logo_null.yaml diff --git a/schema/tests/data/common/sponsor/negative/name-empty.yaml b/schema/tests/data/common/sponsor/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/name-empty.yaml rename to schema/tests/data/common/sponsor/negative/name_empty.yaml diff --git a/schema/tests/data/common/sponsor/negative/name-null.yaml b/schema/tests/data/common/sponsor/negative/name_null.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/name-null.yaml rename to schema/tests/data/common/sponsor/negative/name_null.yaml diff --git a/schema/tests/data/common/sponsor/negative/name-undefined.yaml b/schema/tests/data/common/sponsor/negative/name_undefined.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/name-undefined.yaml rename to schema/tests/data/common/sponsor/negative/name_undefined.yaml diff --git a/schema/tests/data/common/sponsor/negative/url-empty.yaml b/schema/tests/data/common/sponsor/negative/url_empty.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/url-empty.yaml rename to schema/tests/data/common/sponsor/negative/url_empty.yaml diff --git a/schema/tests/data/common/sponsor/negative/url-null.yaml b/schema/tests/data/common/sponsor/negative/url_null.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/url-null.yaml rename to schema/tests/data/common/sponsor/negative/url_null.yaml diff --git a/schema/tests/data/common/sponsor/negative/url-undefined.yaml b/schema/tests/data/common/sponsor/negative/url_undefined.yaml similarity index 100% rename from schema/tests/data/common/sponsor/negative/url-undefined.yaml rename to schema/tests/data/common/sponsor/negative/url_undefined.yaml diff --git a/schema/tests/data/common/sponsor/positive/optional-properties.yaml b/schema/tests/data/common/sponsor/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/common/sponsor/positive/optional-properties.yaml rename to schema/tests/data/common/sponsor/positive/optional_properties.yaml diff --git a/schema/tests/data/common/sponsor/positive/required-properties.yaml b/schema/tests/data/common/sponsor/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/common/sponsor/positive/required-properties.yaml rename to schema/tests/data/common/sponsor/positive/required_properties.yaml diff --git a/schema/tests/data/project/negative/audience-empty.yaml b/schema/tests/data/project/negative/audience_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/audience-empty.yaml rename to schema/tests/data/project/negative/audience_empty.yaml diff --git a/schema/tests/data/project/negative/audience-invalid.yaml b/schema/tests/data/project/negative/audience_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/audience-invalid.yaml rename to schema/tests/data/project/negative/audience_invalid.yaml diff --git a/schema/tests/data/project/negative/audience-null.yaml b/schema/tests/data/project/negative/audience_null.yaml similarity index 100% rename from schema/tests/data/project/negative/audience-null.yaml rename to schema/tests/data/project/negative/audience_null.yaml diff --git a/schema/tests/data/project/negative/audience-undefined.yaml b/schema/tests/data/project/negative/audience_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/audience-undefined.yaml rename to schema/tests/data/project/negative/audience_undefined.yaml diff --git a/schema/tests/data/project/negative/blog-empty.yaml b/schema/tests/data/project/negative/blog_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/blog-empty.yaml rename to schema/tests/data/project/negative/blog_empty.yaml diff --git a/schema/tests/data/project/negative/blog-invalid.yaml b/schema/tests/data/project/negative/blog_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/blog-invalid.yaml rename to schema/tests/data/project/negative/blog_invalid.yaml diff --git a/schema/tests/data/project/negative/blog-null.yaml b/schema/tests/data/project/negative/blog_null.yaml similarity index 100% rename from schema/tests/data/project/negative/blog-null.yaml rename to schema/tests/data/project/negative/blog_null.yaml diff --git a/schema/tests/data/project/negative/community-empty.yaml b/schema/tests/data/project/negative/community_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/community-empty.yaml rename to schema/tests/data/project/negative/community_empty.yaml diff --git a/schema/tests/data/project/negative/community-non-unique.yaml b/schema/tests/data/project/negative/community_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/community-non-unique.yaml rename to schema/tests/data/project/negative/community_non_unique.yaml diff --git a/schema/tests/data/project/negative/community-null.yaml b/schema/tests/data/project/negative/community_null.yaml similarity index 100% rename from schema/tests/data/project/negative/community-null.yaml rename to schema/tests/data/project/negative/community_null.yaml diff --git a/schema/tests/data/project/negative/demo-empty.yaml b/schema/tests/data/project/negative/demo_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/demo-empty.yaml rename to schema/tests/data/project/negative/demo_empty.yaml diff --git a/schema/tests/data/project/negative/demo-invalid.yaml b/schema/tests/data/project/negative/demo_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/demo-invalid.yaml rename to schema/tests/data/project/negative/demo_invalid.yaml diff --git a/schema/tests/data/project/negative/demo-non-unique.yaml b/schema/tests/data/project/negative/demo_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/demo-non-unique.yaml rename to schema/tests/data/project/negative/demo_non_unique.yaml diff --git a/schema/tests/data/project/negative/demo-null.yaml b/schema/tests/data/project/negative/demo_null.yaml similarity index 100% rename from schema/tests/data/project/negative/demo-null.yaml rename to schema/tests/data/project/negative/demo_null.yaml diff --git a/schema/tests/data/project/negative/documentation-empty.yaml b/schema/tests/data/project/negative/documentation_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/documentation-empty.yaml rename to schema/tests/data/project/negative/documentation_empty.yaml diff --git a/schema/tests/data/project/negative/documentation-invalid.yaml b/schema/tests/data/project/negative/documentation_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/documentation-invalid.yaml rename to schema/tests/data/project/negative/documentation_invalid.yaml diff --git a/schema/tests/data/project/negative/documentation-non-unique.yaml b/schema/tests/data/project/negative/documentation_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/documentation-non-unique.yaml rename to schema/tests/data/project/negative/documentation_non_unique.yaml diff --git a/schema/tests/data/project/negative/documentation-null.yaml b/schema/tests/data/project/negative/documentation_null.yaml similarity index 100% rename from schema/tests/data/project/negative/documentation-null.yaml rename to schema/tests/data/project/negative/documentation_null.yaml diff --git a/schema/tests/data/project/negative/downloads-empty.yaml b/schema/tests/data/project/negative/downloads_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/downloads-empty.yaml rename to schema/tests/data/project/negative/downloads_empty.yaml diff --git a/schema/tests/data/project/negative/downloads-invalid.yaml b/schema/tests/data/project/negative/downloads_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/downloads-invalid.yaml rename to schema/tests/data/project/negative/downloads_invalid.yaml diff --git a/schema/tests/data/project/negative/downloads-non-unique.yaml b/schema/tests/data/project/negative/downloads_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/downloads-non-unique.yaml rename to schema/tests/data/project/negative/downloads_non_unique.yaml diff --git a/schema/tests/data/project/negative/downloads-null.yaml b/schema/tests/data/project/negative/downloads_null.yaml similarity index 100% rename from schema/tests/data/project/negative/downloads-null.yaml rename to schema/tests/data/project/negative/downloads_null.yaml diff --git a/schema/tests/data/project/negative/events-empty.yaml b/schema/tests/data/project/negative/events_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/events-empty.yaml rename to schema/tests/data/project/negative/events_empty.yaml diff --git a/schema/tests/data/project/negative/events-invalid.yaml b/schema/tests/data/project/negative/events_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/events-invalid.yaml rename to schema/tests/data/project/negative/events_invalid.yaml diff --git a/schema/tests/data/project/negative/events-non-unique.yaml b/schema/tests/data/project/negative/events_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/events-non-unique.yaml rename to schema/tests/data/project/negative/events_non_unique.yaml diff --git a/schema/tests/data/project/negative/events-null.yaml b/schema/tests/data/project/negative/events_null.yaml similarity index 100% rename from schema/tests/data/project/negative/events-null.yaml rename to schema/tests/data/project/negative/events_null.yaml diff --git a/schema/tests/data/project/negative/leaders-empty.yaml b/schema/tests/data/project/negative/leaders_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/leaders-empty.yaml rename to schema/tests/data/project/negative/leaders_empty.yaml diff --git a/schema/tests/data/project/negative/leaders-non-unique.yaml b/schema/tests/data/project/negative/leaders_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/leaders-non-unique.yaml rename to schema/tests/data/project/negative/leaders_non_unique.yaml diff --git a/schema/tests/data/project/negative/leaders-null.yaml b/schema/tests/data/project/negative/leaders_null.yaml similarity index 100% rename from schema/tests/data/project/negative/leaders-null.yaml rename to schema/tests/data/project/negative/leaders_null.yaml diff --git a/schema/tests/data/project/negative/leaders-undefined.yaml b/schema/tests/data/project/negative/leaders_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/leaders-undefined.yaml rename to schema/tests/data/project/negative/leaders_undefined.yaml diff --git a/schema/tests/data/project/negative/level-invalid.yaml b/schema/tests/data/project/negative/level_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/level-invalid.yaml rename to schema/tests/data/project/negative/level_invalid.yaml diff --git a/schema/tests/data/project/negative/level-undefined.yaml b/schema/tests/data/project/negative/level_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/level-undefined.yaml rename to schema/tests/data/project/negative/level_undefined.yaml diff --git a/schema/tests/data/project/negative/license-invalid.yaml b/schema/tests/data/project/negative/license_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/license-invalid.yaml rename to schema/tests/data/project/negative/license_invalid.yaml diff --git a/schema/tests/data/project/negative/logo-empty.yaml b/schema/tests/data/project/negative/logo_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/logo-empty.yaml rename to schema/tests/data/project/negative/logo_empty.yaml diff --git a/schema/tests/data/project/negative/logo-non-unique.yaml b/schema/tests/data/project/negative/logo_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/logo-non-unique.yaml rename to schema/tests/data/project/negative/logo_non_unique.yaml diff --git a/schema/tests/data/project/negative/logo-null.yaml b/schema/tests/data/project/negative/logo_null.yaml similarity index 100% rename from schema/tests/data/project/negative/logo-null.yaml rename to schema/tests/data/project/negative/logo_null.yaml diff --git a/schema/tests/data/project/negative/mailing-list-empty.yaml b/schema/tests/data/project/negative/mailing_list_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/mailing-list-empty.yaml rename to schema/tests/data/project/negative/mailing_list_empty.yaml diff --git a/schema/tests/data/project/negative/mailing-list-invalid.yaml b/schema/tests/data/project/negative/mailing_list_invalid.yaml similarity index 100% rename from schema/tests/data/project/negative/mailing-list-invalid.yaml rename to schema/tests/data/project/negative/mailing_list_invalid.yaml diff --git a/schema/tests/data/project/negative/mailing-list-null.yaml b/schema/tests/data/project/negative/mailing_list_null.yaml similarity index 100% rename from schema/tests/data/project/negative/mailing-list-null.yaml rename to schema/tests/data/project/negative/mailing_list_null.yaml diff --git a/schema/tests/data/project/negative/name-empty.yaml b/schema/tests/data/project/negative/name_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/name-empty.yaml rename to schema/tests/data/project/negative/name_empty.yaml diff --git a/schema/tests/data/project/negative/name-null.yaml b/schema/tests/data/project/negative/name_null.yaml similarity index 100% rename from schema/tests/data/project/negative/name-null.yaml rename to schema/tests/data/project/negative/name_null.yaml diff --git a/schema/tests/data/project/negative/name-undefined.yaml b/schema/tests/data/project/negative/name_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/name-undefined.yaml rename to schema/tests/data/project/negative/name_undefined.yaml diff --git a/schema/tests/data/project/negative/pitch-empty.yaml b/schema/tests/data/project/negative/pitch_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/pitch-empty.yaml rename to schema/tests/data/project/negative/pitch_empty.yaml diff --git a/schema/tests/data/project/negative/pitch-null.yaml b/schema/tests/data/project/negative/pitch_null.yaml similarity index 100% rename from schema/tests/data/project/negative/pitch-null.yaml rename to schema/tests/data/project/negative/pitch_null.yaml diff --git a/schema/tests/data/project/negative/pitch-undefined.yaml b/schema/tests/data/project/negative/pitch_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/pitch-undefined.yaml rename to schema/tests/data/project/negative/pitch_undefined.yaml diff --git a/schema/tests/data/project/negative/repositories-empty.yaml b/schema/tests/data/project/negative/repositories_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/repositories-empty.yaml rename to schema/tests/data/project/negative/repositories_empty.yaml diff --git a/schema/tests/data/project/negative/repositories-non-unique.yaml b/schema/tests/data/project/negative/repositories_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/repositories-non-unique.yaml rename to schema/tests/data/project/negative/repositories_non_unique.yaml diff --git a/schema/tests/data/project/negative/repositories-null.yaml b/schema/tests/data/project/negative/repositories_null.yaml similarity index 100% rename from schema/tests/data/project/negative/repositories-null.yaml rename to schema/tests/data/project/negative/repositories_null.yaml diff --git a/schema/tests/data/project/negative/social-media-empty.yaml b/schema/tests/data/project/negative/social_media_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/social-media-empty.yaml rename to schema/tests/data/project/negative/social_media_empty.yaml diff --git a/schema/tests/data/project/negative/social-media-non-unique.yaml b/schema/tests/data/project/negative/social_media_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/social-media-non-unique.yaml rename to schema/tests/data/project/negative/social_media_non_unique.yaml diff --git a/schema/tests/data/project/negative/social-media-null.yaml b/schema/tests/data/project/negative/social_media_null.yaml similarity index 100% rename from schema/tests/data/project/negative/social-media-null.yaml rename to schema/tests/data/project/negative/social_media_null.yaml diff --git a/schema/tests/data/project/negative/sponsors-empty.yaml b/schema/tests/data/project/negative/sponsors_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/sponsors-empty.yaml rename to schema/tests/data/project/negative/sponsors_empty.yaml diff --git a/schema/tests/data/project/negative/sponsors-non-unique.yaml b/schema/tests/data/project/negative/sponsors_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/sponsors-non-unique.yaml rename to schema/tests/data/project/negative/sponsors_non_unique.yaml diff --git a/schema/tests/data/project/negative/sponsors-null.yaml b/schema/tests/data/project/negative/sponsors_null.yaml similarity index 100% rename from schema/tests/data/project/negative/sponsors-null.yaml rename to schema/tests/data/project/negative/sponsors_null.yaml diff --git a/schema/tests/data/project/negative/tags-empty.yaml b/schema/tests/data/project/negative/tags_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/tags-empty.yaml rename to schema/tests/data/project/negative/tags_empty.yaml diff --git a/schema/tests/data/project/negative/tags-non-unique.yaml b/schema/tests/data/project/negative/tags_non_unique.yaml similarity index 100% rename from schema/tests/data/project/negative/tags-non-unique.yaml rename to schema/tests/data/project/negative/tags_non_unique.yaml diff --git a/schema/tests/data/project/negative/tags-null.yaml b/schema/tests/data/project/negative/tags_null.yaml similarity index 100% rename from schema/tests/data/project/negative/tags-null.yaml rename to schema/tests/data/project/negative/tags_null.yaml diff --git a/schema/tests/data/project/negative/tags-undefined.yaml b/schema/tests/data/project/negative/tags_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/tags-undefined.yaml rename to schema/tests/data/project/negative/tags_undefined.yaml diff --git a/schema/tests/data/project/negative/type-empty.yaml b/schema/tests/data/project/negative/type_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/type-empty.yaml rename to schema/tests/data/project/negative/type_empty.yaml diff --git a/schema/tests/data/project/negative/type-null.yaml b/schema/tests/data/project/negative/type_null.yaml similarity index 100% rename from schema/tests/data/project/negative/type-null.yaml rename to schema/tests/data/project/negative/type_null.yaml diff --git a/schema/tests/data/project/negative/type-undefined.yaml b/schema/tests/data/project/negative/type_undefined.yaml similarity index 100% rename from schema/tests/data/project/negative/type-undefined.yaml rename to schema/tests/data/project/negative/type_undefined.yaml diff --git a/schema/tests/data/project/negative/website-empty.yaml b/schema/tests/data/project/negative/website_empty.yaml similarity index 100% rename from schema/tests/data/project/negative/website-empty.yaml rename to schema/tests/data/project/negative/website_empty.yaml diff --git a/schema/tests/data/project/negative/website-null.yaml b/schema/tests/data/project/negative/website_null.yaml similarity index 100% rename from schema/tests/data/project/negative/website-null.yaml rename to schema/tests/data/project/negative/website_null.yaml diff --git a/schema/tests/data/project/positive/optional-properties.yaml b/schema/tests/data/project/positive/optional_properties.yaml similarity index 100% rename from schema/tests/data/project/positive/optional-properties.yaml rename to schema/tests/data/project/positive/optional_properties.yaml diff --git a/schema/tests/data/project/positive/required-properties.yaml b/schema/tests/data/project/positive/required_properties.yaml similarity index 100% rename from schema/tests/data/project/positive/required-properties.yaml rename to schema/tests/data/project/positive/required_properties.yaml diff --git a/schema/tests/project_test.py b/schema/tests/project_test.py index 11b502df6..6364033ef 100644 --- a/schema/tests/project_test.py +++ b/schema/tests/project_test.py @@ -13,76 +13,76 @@ ("file_path", "error_message"), [ ( - "audience-invalid.yaml", + "audience_invalid.yaml", "'hacker' is not one of ['breaker', 'builder', 'defender']", ), - ("audience-empty.yaml", "'' is not one of ['breaker', 'builder', 'defender']"), - ("audience-null.yaml", "None is not one of ['breaker', 'builder', 'defender']"), - ("audience-undefined.yaml", "'audience' is a required property"), - ("blog-empty.yaml", "'' is not a 'uri'"), - ("blog-invalid.yaml", "'https://invalid/' is not a 'uri'"), - ("blog-null.yaml", "None is not a 'uri'"), - ("community-empty.yaml", "[] should be non-empty"), + ("audience_empty.yaml", "'' is not one of ['breaker', 'builder', 'defender']"), + ("audience_null.yaml", "None is not one of ['breaker', 'builder', 'defender']"), + ("audience_undefined.yaml", "'audience' is a required property"), + ("blog_empty.yaml", "'' is not a 'uri'"), + ("blog_invalid.yaml", "'https://invalid/' is not a 'uri'"), + ("blog_null.yaml", "None is not a 'uri'"), + ("community_empty.yaml", "[] should be non-empty"), ( - "community-non-unique.yaml", + "community_non_unique.yaml", "[{'platform': 'discord', 'url': 'https://discord.com/example'}, " "{'platform': 'discord', 'url': 'https://discord.com/example'}] " "has non-unique elements", ), - ("community-null.yaml", "None is not of type 'array'"), - ("demo-empty.yaml", "[] should be non-empty"), - ("demo-invalid.yaml", "'https://invalid/' is not a 'uri'"), + ("community_null.yaml", "None is not of type 'array'"), + ("demo_empty.yaml", "[] should be non-empty"), + ("demo_invalid.yaml", "'https://invalid/' is not a 'uri'"), ( - "demo-non-unique.yaml", + "demo_non_unique.yaml", "['https://example.com/', 'https://example.com/'] has non-unique elements", ), - ("demo-null.yaml", "None is not of type 'array'"), - ("documentation-empty.yaml", "[] should be non-empty"), + ("demo_null.yaml", "None is not of type 'array'"), + ("documentation_empty.yaml", "[] should be non-empty"), ( - "documentation-invalid.yaml", + "documentation_invalid.yaml", "'xyz-abc' is not a 'uri'", ), ( - "documentation-non-unique.yaml", + "documentation_non_unique.yaml", "['https://example.com/docs', 'https://example.com/docs'] has non-unique elements", ), - ("documentation-null.yaml", "None is not of type 'array'"), - ("downloads-empty.yaml", "[] should be non-empty"), + ("documentation_null.yaml", "None is not of type 'array'"), + ("downloads_empty.yaml", "[] should be non-empty"), ( - "downloads-invalid.yaml", + "downloads_invalid.yaml", "'xyz-abc' is not a 'uri'", ), ( - "downloads-non-unique.yaml", + "downloads_non_unique.yaml", "['https://abc.com/download', 'https://abc.com/download'] has non-unique elements", ), - ("downloads-null.yaml", "None is not of type 'array'"), - ("events-empty.yaml", "[] should be non-empty"), - ("events-invalid.yaml", "'xyz-abc' is not a 'uri'"), + ("downloads_null.yaml", "None is not of type 'array'"), + ("events_empty.yaml", "[] should be non-empty"), + ("events_invalid.yaml", "'xyz-abc' is not a 'uri'"), ( - "events-non-unique.yaml", + "events_non_unique.yaml", "['https://example.com/event1', 'https://example.com/event1'] has non-unique elements", ), - ("events-null.yaml", "None is not of type 'array'"), - ("leaders-empty.yaml", "[] is too short"), + ("events_null.yaml", "None is not of type 'array'"), + ("leaders_empty.yaml", "[] is too short"), ( - "leaders-non-unique.yaml", + "leaders_non_unique.yaml", "[{'github': 'leader1'}, {'github': 'leader1'}] has non-unique elements", ), - ("leaders-null.yaml", "None is not of type 'array'"), - ("leaders-undefined.yaml", "'leaders' is a required property"), - ("level-invalid.yaml", "2.5 is not one of [2, 3, 3.5, 4]"), - ("level-undefined.yaml", "'level' is a required property"), + ("leaders_null.yaml", "None is not of type 'array'"), + ("leaders_undefined.yaml", "'leaders' is a required property"), + ("level_invalid.yaml", "2.5 is not one of [2, 3, 3.5, 4]"), + ("level_undefined.yaml", "'level' is a required property"), ( - "license-invalid.yaml", + "license_invalid.yaml", "'INVALID-LICENSE-VALUE' is not one of ['AGPL-3.0', 'Apache-2.0', 'BSD-2-Clause', " "'BSD-3-Clause', 'CC-BY-4.0', 'CC-BY-SA-4.0', 'CC0-1.0', 'EUPL-1.2', 'GPL-2.0', " "'GPL-3.0', 'LGPL-2.1', 'LGPL-3.0', 'MIT', 'MPL-2.0', 'OTHER']", ), - ("logo-empty.yaml", "[] should be non-empty"), - ("logo-null.yaml", "None is not of type 'array'"), + ("logo_empty.yaml", "[] should be non-empty"), + ("logo_null.yaml", "None is not of type 'array'"), ( - "logo-non-unique.yaml", + "logo_non_unique.yaml", "[{'small': 'https://example.com/smallLogo.png', " "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}, " @@ -90,44 +90,44 @@ "'medium': 'https://example.com/mediumLogo.png', " "'large': 'https://example.com/largeLogo.png'}] has non-unique elements", ), - ("mailing-list-empty.yaml", "'' is not a 'uri'"), - ("mailing-list-invalid.yaml", "'https://xyz' is not a 'uri'"), - ("mailing-list-null.yaml", "None is not a 'uri'"), - ("name-empty.yaml", "'' is too short"), - ("name-null.yaml", "None is not of type 'string'"), - ("name-undefined.yaml", "'name' is a required property"), - ("pitch-empty.yaml", "'' is too short"), - ("pitch-null.yaml", "None is not of type 'string'"), - ("pitch-undefined.yaml", "'pitch' is a required property"), - ("repositories-empty.yaml", "[] should be non-empty"), + ("mailing_list_empty.yaml", "'' is not a 'uri'"), + ("mailing_list_invalid.yaml", "'https://xyz' is not a 'uri'"), + ("mailing_list_null.yaml", "None is not a 'uri'"), + ("name_empty.yaml", "'' is too short"), + ("name_null.yaml", "None is not of type 'string'"), + ("name_undefined.yaml", "'name' is a required property"), + ("pitch_empty.yaml", "'' is too short"), + ("pitch_null.yaml", "None is not of type 'string'"), + ("pitch_undefined.yaml", "'pitch' is a required property"), + ("repositories_empty.yaml", "[] should be non-empty"), ( - "repositories-non-unique.yaml", + "repositories_non_unique.yaml", "[{'url': 'https://repo1.com'}, {'url': 'https://repo1.com'}] has non-unique elements", ), - ("repositories-null.yaml", "None is not of type 'array'"), - ("social-media-empty.yaml", "[] should be non-empty"), + ("repositories_null.yaml", "None is not of type 'array'"), + ("social_media_empty.yaml", "[] should be non-empty"), ( - "social-media-non-unique.yaml", + "social_media_non_unique.yaml", "[{'platform': 'x', 'url': 'https://x.com'}, " "{'platform': 'x', 'url': 'https://x.com'}] has non-unique elements", ), - ("social-media-null.yaml", "None is not of type 'array'"), - ("sponsors-empty.yaml", "[] should be non-empty"), + ("social_media_null.yaml", "None is not of type 'array'"), + ("sponsors_empty.yaml", "[] should be non-empty"), ( - "sponsors-non-unique.yaml", + "sponsors_non_unique.yaml", "[{'name': 'CyberSec Corp', 'url': 'https://cybersec.com'}, " "{'name': 'CyberSec Corp', 'url': 'https://cybersec.com'}] has non-unique elements", ), - ("sponsors-null.yaml", "None is not of type 'array'"), - ("tags-empty.yaml", "[] is too short"), - ("tags-null.yaml", "None is not of type 'array'"), - ("tags-non-unique.yaml", "['example-tag-1', 'example-tag-1'] is too short"), - ("tags-undefined.yaml", "'tags' is a required property"), - ("type-empty.yaml", "'' is not one of ['code', 'documentation', 'tool']"), - ("type-null.yaml", "None is not one of ['code', 'documentation', 'tool']"), - ("type-undefined.yaml", "'type' is a required property"), - ("website-empty.yaml", "'' is too short"), - ("website-null.yaml", "None is not of type 'string'"), + ("sponsors_null.yaml", "None is not of type 'array'"), + ("tags_empty.yaml", "[] is too short"), + ("tags_null.yaml", "None is not of type 'array'"), + ("tags_non_unique.yaml", "['example-tag-1', 'example-tag-1'] is too short"), + ("tags_undefined.yaml", "'tags' is a required property"), + ("type_empty.yaml", "'' is not one of ['code', 'documentation', 'tool']"), + ("type_null.yaml", "None is not one of ['code', 'documentation', 'tool']"), + ("type_undefined.yaml", "'type' is a required property"), + ("website_empty.yaml", "'' is too short"), + ("website_null.yaml", "None is not of type 'string'"), ], ) def test_negative(project_schema, file_path, error_message):