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'"
|