ni / nidaqmx-python

A Python API for interacting with NI-DAQmx
Other
413 stars 155 forks source link

add tests for trigger APIs #597

Closed jlin-NI closed 1 month ago

jlin-NI commented 1 month ago

What does this Pull Request accomplish?

add python test for trigger APIs

Why should this Pull Request be merged?

several trigger C APIs are not tested by python test, add test to set appropriate trigger attribute, read back and check attribute values, also add 6535 simulated device for digital pattern.

What testing has been done?

poetry run pytest .\tests\component\task\test_triggers.py

github-actions[bot] commented 1 month ago

Test Results

    34 files  ±  0      34 suites  ±0   47m 53s :stopwatch: + 1m 1s  2 298 tests + 24   1 934 :white_check_mark: + 24    364 :zzz: ±0  0 :x: ±0  40 722 runs  +408  34 542 :white_check_mark: +408  6 180 :zzz: ±0  0 :x: ±0 

Results for commit f8ffce09. ± Comparison against base commit 023f5bc9.