We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8aaeb1 commit 21d0bcdCopy full SHA for 21d0bcd
1 file changed
tests/serial_test.py
@@ -1,12 +1,13 @@
1
import time, pytest, asyncio, logging
2
from ..src.devlprd.DaemonState import DaemonState
3
from ..src.devlprd import serif
4
+from ..src.devlprd.config import BOARDS
5
-STATE: DaemonState = DaemonState(asyncio.get_event_loop())
6
+STATE: DaemonState = DaemonState(asyncio.get_event_loop(), BOARDS['DEVLPR'])
7
logging.basicConfig(level=logging.INFO)
8
class TestSerial():
9
def test_basic(self):
- DEVLPR_SERIF = serif.DevlprSerif()
10
+ DEVLPR_SERIF = serif.DevlprSerif(BOARDS['DEVLPR'])
11
DEVLPR_SERIF.init_serial(STATE)
12
i = 0
13
while i < 500:
0 commit comments