Open nawatts opened 2 years ago
Currently, worker tests only cover parsing the incoming request.
There should be tests for the logic for selecting variants for recommended variant lists, the variant format, etc.
Could possibly use some kind of snapshot testing for this.
https://pypi.org/project/pytest-snapshot/ https://docs.pytest.org/en/latest/example/simple.html
Currently, worker tests only cover parsing the incoming request.
There should be tests for the logic for selecting variants for recommended variant lists, the variant format, etc.