Skip to content

Commit 21d0bcd

Browse files
author
Ezra Boley
committed
Updated tests
1 parent b8aaeb1 commit 21d0bcd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/serial_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import time, pytest, asyncio, logging
22
from ..src.devlprd.DaemonState import DaemonState
33
from ..src.devlprd import serif
4+
from ..src.devlprd.config import BOARDS
45

5-
STATE: DaemonState = DaemonState(asyncio.get_event_loop())
6+
STATE: DaemonState = DaemonState(asyncio.get_event_loop(), BOARDS['DEVLPR'])
67
logging.basicConfig(level=logging.INFO)
78
class TestSerial():
89
def test_basic(self):
9-
DEVLPR_SERIF = serif.DevlprSerif()
10+
DEVLPR_SERIF = serif.DevlprSerif(BOARDS['DEVLPR'])
1011
DEVLPR_SERIF.init_serial(STATE)
1112
i = 0
1213
while i < 500:

0 commit comments

Comments
 (0)