mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-03-13 14:12:12 +00:00
13 lines
372 B
Python
13 lines
372 B
Python
import infra.basetest
|
|
|
|
|
|
class TestHostPythonSerial(infra.basetest.BRHostPkgTest):
|
|
hostpkgs = ["host-python-serial"]
|
|
|
|
def test_run(self):
|
|
cmd = ["host/bin/python3", "-c", "import serial"]
|
|
infra.run_cmd_on_host(self.builddir, cmd)
|
|
|
|
cmd = ["host/bin/python3", "-m", "serial.tools.list_ports"]
|
|
infra.run_cmd_on_host(self.builddir, cmd)
|