Skip to content

Commit

Permalink
test that
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Oct 10, 2024
1 parent bae5634 commit 1816674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/usbprotocol/test_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def random_can_messages(n, bus=None):


class TestPandaComms:
my_id = None
my_id = -1

def test_tx_queues(self):
ffi = libpanda_py.gen_new_ffi()
Expand Down Expand Up @@ -55,6 +55,7 @@ def test_comms_reset_rx(self):
lpp.comms_can_reset()

self.my_id = id(lpp.tx1_q)

test_msg = (0x100, b"test2", 0)
for _ in range(100):
can_pkt_tx = libpanda_py.make_CANPacket(test_msg[0], test_msg[2], test_msg[1], lpp, ffi)
Expand Down

0 comments on commit 1816674

Please sign in to comment.