mirror of
https://github.com/naruxde/revpimodio2.git
synced 2026-09-30 23:04:29 +02:00
test: Cleanup tests and use relative imports
This commit is contained in:
1 parent
dc5906288c
commit
276ea8dd72
26 files changed
+79
-33
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Init file for test group."""
|
||||
__author__ = "Sven Sager"
|
||||
__copyright__ = "Copyright (C) 2024 Sven Sager"
|
||||
__license__ = "GPLv2"
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user