diff options
| author | Brianna Rainey | 2026-01-13 19:34:55 -0500 |
|---|---|---|
| committer | GitHub | 2026-01-13 19:34:55 -0500 |
| commit | 50f5a76603a3f97f2c6f6a1d3cefea88ed3497aa (patch) | |
| tree | 226fe223b31af6f217b1dd413629ab2cf26964d4 /tests | |
| parent | b8703752ffc7768b0275897b3c2a869ff41504e5 (diff) | |
| parent | f975144f25d34f97329b2d4e52891061573cea08 (diff) | |
Merge pull request #85 from aeliton/add-pyproject
Use pyproject.toml + uv_build
Diffstat (limited to '')
| -rw-r--r-- | tests/__init__.py (renamed from src/tests/__init__.py) | 4 | ||||
| -rw-r--r-- | tests/data/test.jpg (renamed from src/tests/data/test.jpg) | bin | 48766 -> 48766 bytes | |||
| -rw-r--r-- | tests/data/test.ogg (renamed from src/tests/data/test.ogg) | bin | 30043 -> 30043 bytes | |||
| -rw-r--r-- | tests/data/test.png (renamed from src/tests/data/test.png) | bin | 220 -> 220 bytes | |||
| -rw-r--r-- | tests/test_commandline_export.py (renamed from src/tests/test_commandline_export.py) | 2 | ||||
| -rw-r--r-- | tests/test_commandline_parser.py (renamed from src/tests/test_commandline_parser.py) | 2 | ||||
| -rw-r--r-- | tests/test_core_init.py (renamed from src/tests/test_core_init.py) | 2 |
7 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/__init__.py b/tests/__init__.py index e2d83e7..d0073ef 100644 --- a/src/tests/__init__.py +++ b/tests/__init__.py @@ -1,11 +1,11 @@ import pytest import os import sys -from ..core import Core def getTestDataPath(filename): - return os.path.join(Core.wd, "tests", "data", filename) + tests_dir = os.path.dirname(os.path.abspath(__file__)) + return os.path.join(tests_dir, "data", filename) def run(logFile): diff --git a/src/tests/data/test.jpg b/tests/data/test.jpg Binary files differindex 86266d9..86266d9 100644 --- a/src/tests/data/test.jpg +++ b/tests/data/test.jpg diff --git a/src/tests/data/test.ogg b/tests/data/test.ogg Binary files differindex 46af76c..46af76c 100644 --- a/src/tests/data/test.ogg +++ b/tests/data/test.ogg diff --git a/src/tests/data/test.png b/tests/data/test.png Binary files differindex f1ffd4a..f1ffd4a 100644 --- a/src/tests/data/test.png +++ b/tests/data/test.png diff --git a/src/tests/test_commandline_export.py b/tests/test_commandline_export.py index 6126da7..05ead77 100644 --- a/src/tests/test_commandline_export.py +++ b/tests/test_commandline_export.py @@ -1,7 +1,7 @@ import sys import os import tempfile -from ..command import Command +from avp.command import Command from . import getTestDataPath from pytestqt import qtbot diff --git a/src/tests/test_commandline_parser.py b/tests/test_commandline_parser.py index 5d1232b..5713286 100644 --- a/src/tests/test_commandline_parser.py +++ b/tests/test_commandline_parser.py @@ -1,6 +1,6 @@ import sys import pytest -from ..command import Command +from avp.command import Command def test_commandline_help(): diff --git a/src/tests/test_core_init.py b/tests/test_core_init.py index 950dc13..16606fb 100644 --- a/src/tests/test_core_init.py +++ b/tests/test_core_init.py @@ -1,4 +1,4 @@ -from ..core import Core +from avp.core import Core def test_component_names(): |
