Loading src/opticalattackdetector/tests/test_unitary.py +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import logging import uuid import queue import time from unittest.mock import patch import pytest Loading @@ -36,6 +37,7 @@ LOGGER = logging.getLogger(__name__) def optical_attack_detector_service(): _service = OpticalAttackDetectorService() _service.start() time.sleep(2) yield _service _service.stop() Loading Loading
src/opticalattackdetector/tests/test_unitary.py +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ import logging import uuid import queue import time from unittest.mock import patch import pytest Loading @@ -36,6 +37,7 @@ LOGGER = logging.getLogger(__name__) def optical_attack_detector_service(): _service = OpticalAttackDetectorService() _service.start() time.sleep(2) yield _service _service.stop() Loading