test: Cleanup tests and use relative imports

This commit is contained in:
2024-11-08 08:31:39 +01:00
parent dc5906288c
commit 276ea8dd72
26 changed files with 79 additions and 33 deletions

View File

@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
"""Init file for test group."""
__author__ = "Sven Sager"
__copyright__ = "Copyright (C) 2024 Sven Sager"
__license__ = "GPLv2"

View File

@@ -9,8 +9,8 @@ from threading import Event
from time import sleep
from revpimodio2 import RISING, FALLING
from tests import TestRevPiModIO
from tests.helper import ChangeThread
from .. import TestRevPiModIO
from ..helper import ChangeThread
event_data = (None, None)

View File

@@ -6,8 +6,8 @@ __license__ = "GPLv2"
from os.path import dirname
from tests import TestRevPiModIO
from tests.helper import ExitSignal
from .. import TestRevPiModIO
from ..helper import ExitSignal
class TestSignals(TestRevPiModIO):