potiuk commented on PR #32626: URL: https://github.com/apache/airflow/pull/32626#issuecomment-1636841812
@Taragolis @o-nikolas @hussein-awala -> follow up after #30315 -> seems that neither Cassandra nor Pytest do not want to own the problem, however during the discussion I have found a creative way how we can avoid the problem of accidentally adding tests (that would be skipped during collection) in badly named files - I added a custom fixture to fail such tests if they are run "manually". And of course while doing it, I found that we have such tests already, so I was not wrong in assesment that just adding `test_*.py` is a bad idea without having some kind of protection against such tests being added. BTW. I am running some extra checks and maybe I will find more such cases (my check was quite rudimentary) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
