Open
Description
Is your feature request related to a problem? Please describe.
Currently, a lot of testing code from unittest
is mixed with pytest
eco-system. We should migrate to pytest
recommendations and give up unittest
style tests.
Describe the solution you'd like
- This includes abstracting out various
fixtures
so that they can be easily re-used across tests - Currently there is a lot of redundancy in tests which can be addressed using
pytest.parameterize
fixtures
will allow new contributors to easily understand and write new tests, instead of mocking 6-layer deep.
Ref discussions