summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/pytest.ini
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/tests/pytest.ini')
-rw-r--r--scripts/kconfig/tests/pytest.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/pytest.ini b/scripts/kconfig/tests/pytest.ini
new file mode 100644
index 000000000..85d7ce8e4
--- /dev/null
+++ b/scripts/kconfig/tests/pytest.ini
@@ -0,0 +1,7 @@
+[pytest]
+addopts = --verbose
+
+# Pytest requires that test files have unique names, because pytest imports
+# them as top-level modules. It is silly to prefix or suffix a test file with
+# the directory name that contains it. Use __init__.py for all test files.
+python_files = __init__.py