File: 0006-Remove-assertion-on-non-dfsg-files.patch

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (31 lines) | stat: -rw-r--r-- 1,302 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Christian Bayle <bayle@debian.org>
Date: Mon, 12 May 2025 00:26:02 +0200
Subject: Remove assertion on non dfsg files

Forwarded: not-needed
---
 tests/benchmarks/test_basic.py | 1 -
 tests/test_basic_doc.py        | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tests/benchmarks/test_basic.py b/tests/benchmarks/test_basic.py
index 0be43aa..d5ed8a5 100644
--- a/tests/benchmarks/test_basic.py
+++ b/tests/benchmarks/test_basic.py
@@ -15,4 +15,3 @@ def test_basic_time(test_app, benchmark):
     files = [f for f in build_dir.glob("**/*") if f.is_file()]
     assert build_dir / "sphinx_needs_collapse.js" in files
     assert build_dir / "datatables_loader.js" in files
-    assert build_dir / "DataTables-1.10.16" / "js" / "jquery.dataTables.min.js" in files
diff --git a/tests/test_basic_doc.py b/tests/test_basic_doc.py
index 450598c..68b3eb8 100644
--- a/tests/test_basic_doc.py
+++ b/tests/test_basic_doc.py
@@ -35,7 +35,6 @@ def test_build_html(test_app: SphinxTestApp, snapshot_doctree):
     files = [f for f in build_dir.glob("**/*") if f.is_file()]
     assert build_dir / "sphinx_needs_collapse.js" in files
     assert build_dir / "datatables_loader.js" in files
-    assert build_dir / "DataTables-1.10.16" / "js" / "jquery.dataTables.min.js" in files
 
 
 @pytest.mark.skipif(