File: 0004-fix-pytext-modulenotfound-error.patch

package info (click to toggle)
python-renardo-lib 0.9.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,220 kB
  • sloc: python: 10,999; sh: 34; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 645 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
From: Joenio Marques da Costa <joenio@joenio.me>
Date: Mon, 28 Jul 2025 11:04:18 +0200
Subject: fix pytest error: ModuleNotFoundError

Forwarded: not-needed

this commit add the file tests/__init__.py to fix the error message
below when running tests with pytest

    ModuleNotFoundError: No module named 'renardo_lib'
---
 tests/__init__.py | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tests/__init__.py

diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..0edaded
--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1 @@
+# fix error with pytest: "ModuleNotFoundError: No module named 'renardo_lib'"