ni / nidaqmx-python

A Python API for interacting with NI-DAQmx
Other
440 stars 154 forks source link

Add Functional Tests for Internationalization #525

Closed charitylxy closed 7 months ago

charitylxy commented 7 months ago

What does this Pull Request accomplish?

Add test coverage to support internationalization for user provided strings (Implemented in https://github.com/ni/nidaqmx-python/pull/518)

Why should this Pull Request be merged?

What testing has been done?

PS C:\dev\nidaqmx-python> poetry run pytest -k test_internationalization
========================================================================================= test session starts ==========================================================================================
platform win32 -- Python 3.9.13, pytest-8.0.2, pluggy-1.4.0
rootdir: C:\dev\nidaqmx-python
configfile: pyproject.toml
testpaths: tests
plugins: cov-4.1.0, mock-3.12.0
collected 1887 items / 1867 deselected / 20 selected

tests\acceptance\test_internationalization.py .....sssss.....sssss                                                                                                                                [100%]

=========================================================================== 10 passed, 10 skipped, 1867 deselected in 1.17s ============================================================================