Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing port logic family unit tests to skip on Linux #676

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/component/system/test_physical_channel_properties.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

import numpy
import pytest

Expand Down Expand Up @@ -83,12 +85,14 @@ def test___physical_channel_with_teds___get_uint32_property___returns_configured
assert phys_chan.teds_mfg_id == 17


@pytest.mark.skipif(not sys.platform.startswith("win"), reason="mioDAQ support Windows-only")
def test___physical_channel___get_int32_property___returns_value():
phys_chans = PhysicalChannel("mioDAQ/port0")

assert phys_chans.dig_port_logic_family in LogicFamily


@pytest.mark.skipif(not sys.platform.startswith("win"), reason="mioDAQ support Windows-only")
@pytest.mark.library_only(
reason="AB#2375679: gRPC interpreter doesn't support setting physical channel property."
)
Expand Down