From ee444447b936dbf9a5db01ab199ba32759013304 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Mon, 30 Mar 2026 19:28:13 +0530 Subject: [PATCH] Tests: Add tests/__init__.py and pythonpath config Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pyproject.toml | 3 +-- tests/__init__.py | 0 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 tests/__init__.py diff --git a/pyproject.toml b/pyproject.toml index 3627102..781edfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29