File: test-docdir

package info (click to toggle)
python-telethon 1.25.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,328 kB
  • sloc: python: 15,741; javascript: 200; makefile: 16; sh: 11
file content (11 lines) | stat: -rw-r--r-- 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
Tests are looking for "readthedocs" in the top source directory, but
dh_python is running tests from .pybuild/cpython3_3.*/build/.

--- a/tests/readthedocs/conftest.py
+++ b/tests/readthedocs/conftest.py
@@ -5,4 +5,4 @@ import pytest
 
 @pytest.fixture
 def docs_dir():
-    return pathlib.Path('readthedocs')
+    return pathlib.Path('../../../readthedocs')