def test_transport_names_are_lower_case_only(): transports = tr.availableTransports() assert "CAN" not in transports assert "ETH" not in transports assert "SXI" not in transports
def test_transport_classes(): transports = tr.availableTransports() assert issubclass(transports.get("can"), tr.BaseTransport) assert issubclass(transports.get("eth"), tr.BaseTransport) assert issubclass(transports.get("sxi"), tr.BaseTransport)
def test_transport_names(): transports = tr.availableTransports() assert "can" in transports assert "eth" in transports assert "sxi" in transports