Tests: Add tests/__init__.py and pythonpath config

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Pragyansh Chaturvedi
2026-03-30 19:28:13 +05:30
parent da57911122
commit ee444447b9
2 changed files with 1 additions and 2 deletions

View File

@ -53,9 +53,8 @@ include = ["pythonbpf*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"verifier: requires sudo/root for kernel verifier tests (not run by default)",
"vmlinux: requires vmlinux.py for current kernel",

0
tests/__init__.py Normal file
View File