From: Marc Foley Date: Mon, 3 Mar 2025 13:18:56 +0000 (+0000) Subject: .ci/check_profile: rm png check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea165222e57a1b06bc6658d307b08c044dd6d6fb;p=thirdparty%2Fgoogle%2Ffonts.git .ci/check_profile: rm png check --- diff --git a/.ci/test_profiles.py b/.ci/test_profiles.py index b6ae87487..61ad7cb22 100644 --- a/.ci/test_profiles.py +++ b/.ci/test_profiles.py @@ -61,13 +61,6 @@ def test_profile_dir_has_info(profile_dir): assert "info.pb" in os.listdir(profile_dir), "info.pb is missing" -def test_profile_has_correct_img(profile_dir): - assert not any(f for f in os.listdir(profile_dir) if f.endswith((".jpg", ".jpeg"))) - assert any( - f for f in os.listdir(profile_dir) if f.endswith(".png") - ), "Profile is missing png image" - - def test_profile_info_image_link_is_correct(profile_dir, proto_info): img_path = proto_info.avatar.file_name assert img_path in os.listdir(profile_dir), "info.pb: image path is incorrect"