diff options
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(): |
