intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 44 forks source link

Fix running pytests with empty slot-filters #205

Closed pawpiatko closed 4 months ago

pawpiatko commented 5 months ago

Add checking if slotfilter is not empty, otherwise all devices will be filted out when running tests with empty filters: --slot-filters=""_ and finally test result is SKIPPED.

To reproduce issue please run tests using command: pytest tests --ledctl-binary=src/ledctl/ledctl --slot-filters=""