diff --git a/Dockerfile b/Dockerfile index 9f1c9aa..8665731 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a # Find an eligible version at https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/ -ARG CHROMIUM_VERSION=131.0.6778.85-r0 +ARG CHROMIUM_VERSION=131.0.6778.108-r0 RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.20/community" >> /etc/apk/repositories && \ apk --update --no-cache add ca-certificates \ diff --git a/KRITERIEN.md b/KRITERIEN.md index 593f2bc..2d1cefe 100644 --- a/KRITERIEN.md +++ b/KRITERIEN.md @@ -20,7 +20,7 @@ Wir prüfen Sites nach den folgenden Kriterien: - `CONTACT_LINK`: Die Site hat einen Link "Kontakt" -- `USE_SPECIFIC_FONTS`: Die Site verwendet die Schriftart Arvo +- `USE_SPECIFIC_FONTS`: Die Site verwendet die Schriftart GrueneType - `FEEDS`: Die Site verweist auf RSS oder Atom Feeds via `rel=alternate` Link Tag. diff --git a/checks/load_in_browser_test.py b/checks/load_in_browser_test.py index d821bee..5be15a5 100644 --- a/checks/load_in_browser_test.py +++ b/checks/load_in_browser_test.py @@ -22,7 +22,7 @@ def test_basics(self): self.assertTrue(result[url]['min_document_width'] < 360) self.assertEqual(result[url]['cookies'], []) - self.assertEqual(result[url]['logs'], []) + self.assertEqual(len(result[url]['logs']), 1) # one log entry regarding favicon.ico is expected self.assertEqual(result[url]['font_families'], ['"times new roman"']) diff --git a/checks/url_reachability_test.py b/checks/url_reachability_test.py index b5514d5..eaf8166 100644 --- a/checks/url_reachability_test.py +++ b/checks/url_reachability_test.py @@ -21,7 +21,7 @@ def test_success(self): self.assertEqual(result[url]['redirect_history'], []) self.assertEqual(result[url]['status'], 200) self.assertIsNone(result[url]['exception']) - self.assertTrue(0 < result[url]['duration'] < 100) + self.assertTrue(0 < result[url]['duration'] < 300) def test_redirect(self): diff --git a/rating/use_specific_fonts.py b/rating/use_specific_fonts.py index 45c0e86..ffbdac3 100644 --- a/rating/use_specific_fonts.py +++ b/rating/use_specific_fonts.py @@ -26,7 +26,7 @@ def rate(self): continue fonts = " ".join(self.check_results['load_in_browser'][url]['font_families']) - if 'arvo' in fonts or 'titillium' in fonts: + if 'gruenetype' in fonts: urls_with_font += 1 if urls_with_font > 0 and urls_without_font == 0: