KMKfw / kmk_firmware

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

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

Closed xs5871 closed 5 months ago

xs5871 commented 6 months 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.