[elbe-devel] [PATCH 2/2] contrib: test check-deb-py-versions.py
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Jul 3 13:31:34 CEST 2024
The script's filename does not conform to the pytest expectation.
Add it explicitly.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
contrib/conftest.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/contrib/conftest.py b/contrib/conftest.py
new file mode 100644
index 000000000000..9de91a5f7735
--- /dev/null
+++ b/contrib/conftest.py
@@ -0,0 +1,11 @@
+import pytest
+
+
+_additional_test_files = {
+ 'check-deb-py-versions.py',
+}
+
+
+def pytest_collect_file(file_path, parent):
+ if file_path.name in _additional_test_files:
+ return pytest.Module.from_parent(parent, path=file_path)
--
2.45.2
More information about the elbe-devel
mailing list