astronomer / ask-astro

An end-to-end LLM reference implementation providing a Q&A interface for Airflow and Astronomer
https://ask.astronomer.io/
Apache License 2.0
192 stars 47 forks source link

Use pytest-regressions to manage tests that need to load expected results from files #90

Closed Lee-W closed 10 months ago

Lee-W commented 10 months ago

Why

https://github.com/astronomer/ask-astro/pull/77#discussion_r1384451344

pytest-regressions might be a better way to manage such tests and allow us to update them easily if we change the functionality

Lee-W commented 10 months ago

I think I misunderstood the original test cases. pytest-regression does not make sense in this case. Close this one