Skip to content

Commit

Permalink
Update test_query_output_state unit test for the changed enum value…
Browse files Browse the repository at this point in the history
… names
  • Loading branch information
jkwoon-NI committed Jan 9, 2025
1 parent 7063e87 commit f42071f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nidcpower/system_tests/test_system_nidcpower.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def test_measure(self, session):
@pytest.mark.channels('0')
def test_query_output_state(self, session):
with session.initiate():
assert session.query_output_state(nidcpower.OutputStates.VOLTAGE) is True # since default function is DCVolt when initiated output state for DC Volt\DC current should be True and False respectively
assert session.query_output_state(nidcpower.OutputStates.CURRENT) is False
assert session.query_output_state(nidcpower.OutputStates.CONSTANT_VOLTAGE) is True # since default function is DCVolt when initiated output state for DC Volt\DC current should be True and False respectively
assert session.query_output_state(nidcpower.OutputStates.CONSTANT_CURRENT) is False

@pytest.mark.channels('0')
def test_config_aperture_time(self, session):
Expand Down

0 comments on commit f42071f

Please sign in to comment.