Upstream dropped the dependency on filelock and html5lib, so the relevant conditionals in the specfile were removed. sphinx-test_theming.patch needed to be rebased, so it is now a proper git patch. The pytest --import-mode=importlib problem was fixed upstream.
25 lines
869 B
Diff
25 lines
869 B
Diff
From 57433d8036ab1e88ad7d6c4c1a45e438f722e276 Mon Sep 17 00:00:00 2001
|
|
From: Karolina Surma <ksurma@redhat.com>
|
|
Date: Thu, 25 Apr 2024 16:07:56 +0200
|
|
Subject: [PATCH] Patch test_theming to accomodate for Fedora-added theme
|
|
|
|
---
|
|
tests/test_theming/test_theming.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/test_theming/test_theming.py b/tests/test_theming/test_theming.py
|
|
index 867f8a0..281bb45 100644
|
|
--- a/tests/test_theming/test_theming.py
|
|
+++ b/tests/test_theming/test_theming.py
|
|
@@ -50,7 +50,7 @@ def test_theme_api(app, status, warning):
|
|
]
|
|
|
|
# test Theme class API
|
|
- assert set(app.registry.html_themes.keys()) == set(themes)
|
|
+ assert set(app.registry.html_themes.keys()) >= set(themes)
|
|
assert app.registry.html_themes['test-theme'] == str(
|
|
app.srcdir / 'test_theme' / 'test-theme'
|
|
)
|
|
--
|
|
2.44.0
|
|
|