Skip to content

Convert unittest test cases to pytest #320

Description

@DhavalGojiya

Convert unittest test cases to pytest

PyTest --> https://docs.pytest.org/en/stable/

Summary

This project test files still use Python's built in unittest framework. Converting them to pytest will make the test suite more consistent, easier to read, and simpler to maintain.

Tasks

  • Convert existing unittest.TestCase classes to pytest style tests.
  • Replace self.assert* methods with standard assert statements.
  • Use pytest fixtures where appropriate instead of setUp and tearDown.
  • Ensure all existing test coverage is preserved.
  • Verify the full test suite passes after the migration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions