Skip to content

[Testing] Migrate completely to pytest #775

Open
@abhinavsingh

Description

@abhinavsingh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues for new contributors to pick-upTaskTasks & chores related to proxy.py

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions