Skip to content

Commit

Permalink
mpflash test: dump port listing in CI environment
Browse files Browse the repository at this point in the history
Signed-off-by: Jos Verlinde <Jos.Verlinde@microsoft.com>
  • Loading branch information
Josverl committed Dec 16, 2024
1 parent 4b15e4d commit 3a9dc23
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/mpflash/tests/test_filtered_comports.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
"""


def test_port_in_ci():
import jsons
import serial.tools.list_ports as list_ports

comports = jsons.dumps(list_ports.comports()).replace('{"description":', '\n{"description":')
print(comports)


@pytest.mark.parametrize(
"id, include, ignore, bluetooth, expected",
[
Expand Down

0 comments on commit 3a9dc23

Please sign in to comment.