KMKfw / kmk_firmware

Clackety Keyboards Powered by Python
https://kmkfw.zulipchat.com
Other
1.32k stars 458 forks source link

Make unittest only scan the `tests/` directory #973

Closed xs5871 closed 4 weeks ago

xs5871 commented 1 month ago

I had this issue a while back, where scanning the entire project for test*.py files caused problems in combination with the TESTS variable. To be honest, the details elude mit at this point in time -- but it probably doesn't hurt to restrict the test discovery? At least for me it worked well enough that I forgot to PR it.