Skip to content

Commit f42071f

Browse files
committed
Update test_query_output_state unit test for the changed enum value names
1 parent 7063e87 commit f42071f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nidcpower/system_tests/test_system_nidcpower.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ def test_measure(self, session):
175175
@pytest.mark.channels('0')
176176
def test_query_output_state(self, session):
177177
with session.initiate():
178-
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
179-
assert session.query_output_state(nidcpower.OutputStates.CURRENT) is False
178+
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
179+
assert session.query_output_state(nidcpower.OutputStates.CONSTANT_CURRENT) is False
180180

181181
@pytest.mark.channels('0')
182182
def test_config_aperture_time(self, session):

0 commit comments

Comments
 (0)