aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-06-29 22:35:29 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-06-29 22:35:29 +0200
commit8c5c0138d71023079e9f0ac45f2f01a7e96784bc (patch)
treed15c4579c00fcb7d1f73a0d8f627b5ab398efbd1 /test/py
parentlog: minor refactoring (diff)
downloadcimple-8c5c0138d71023079e9f0ac45f2f01a7e96784bc.tar.gz
cimple-8c5c0138d71023079e9f0ac45f2f01a7e96784bc.zip
test: shuffle files a bit
This should hopefully reduce clutter in the test/ directory. Side note: if I leave the __init__.py file in the new py/ directory, pytest fails with import errors. To make it work, I need to either delete it or keep the __init__.py file in both test/ and py/. No idea why.
Diffstat (limited to '')
-rw-r--r--test/py/conftest.py (renamed from test/conftest.py)4
-rw-r--r--test/py/lib/__init__.py (renamed from test/__init__.py)0
-rw-r--r--test/py/lib/process.py (renamed from test/lib/process.py)0
-rw-r--r--test/py/lib/test_repo.py (renamed from test/lib/test_repo.py)0
-rwxr-xr-xtest/py/lib/test_repo/ci.sh (renamed from test/lib/test_repo/ci.sh)0
-rw-r--r--test/py/test_basic.py (renamed from test/test_basic.py)2
6 files changed, 3 insertions, 3 deletions
diff --git a/test/conftest.py b/test/py/conftest.py
index 9e81afd..355bd83 100644
--- a/test/conftest.py
+++ b/test/py/conftest.py
@@ -9,8 +9,8 @@ import random
from pytest import fixture
-from .lib.process import CmdLine
-from .lib.test_repo import TestRepo
+from lib.process import CmdLine
+from lib.test_repo import TestRepo
class Param:
diff --git a/test/__init__.py b/test/py/lib/__init__.py
index e69de29..e69de29 100644
--- a/test/__init__.py
+++ b/test/py/lib/__init__.py
diff --git a/test/lib/process.py b/test/py/lib/process.py
index 3436280..3436280 100644
--- a/test/lib/process.py
+++ b/test/py/lib/process.py
diff --git a/test/lib/test_repo.py b/test/py/lib/test_repo.py
index 1922245..1922245 100644
--- a/test/lib/test_repo.py
+++ b/test/py/lib/test_repo.py
diff --git a/test/lib/test_repo/ci.sh b/test/py/lib/test_repo/ci.sh
index 804cdb3..804cdb3 100755
--- a/test/lib/test_repo/ci.sh
+++ b/test/py/lib/test_repo/ci.sh
diff --git a/test/test_basic.py b/test/py/test_basic.py
index 3544a11..e8a00e1 100644
--- a/test/test_basic.py
+++ b/test/py/test_basic.py
@@ -5,7 +5,7 @@
import pytest
-from .lib.process import LoggingEvent
+from lib.process import LoggingEvent
def test_server_and_workers_run(server_and_workers):