From d876f5eb307c846b01a9272815d2516436f027e9 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Mon, 30 Oct 2023 10:54:31 +0300 Subject: [PATCH] Do not hardcode CSS/JS checksums These checksums are tied to a particular version of Sphinx, Alabaster or Pygments, and the tests may fail when a different version is used. Instead, calculate the checksum dynamically during the test. --- tests/test_urls.py | 32 ++++++++++++++++---------------- tests/utils.py | 25 ++++++++++++------------- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/tests/test_urls.py b/tests/test_urls.py index 03774c1..beb93e8 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -74,8 +74,8 @@ def test_default_settings(app, status, warning): '
  • Documentation overview