Skip to content

Commit ee44444

Browse files
r41k0uCopilot
andcommitted
Tests: Add tests/__init__.py and pythonpath config
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent da57911 commit ee44444

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ include = ["pythonbpf*"]
5353

5454
[tool.pytest.ini_options]
5555
testpaths = ["tests"]
56+
pythonpath = ["."]
5657
python_files = ["test_*.py"]
57-
python_classes = ["Test*"]
58-
python_functions = ["test_*"]
5958
markers = [
6059
"verifier: requires sudo/root for kernel verifier tests (not run by default)",
6160
"vmlinux: requires vmlinux.py for current kernel",

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)