Skip to content

[Refactor] TODO found in extralit/tests/integration/test_client.py: #178

@AnshulPatil2005

Description

@AnshulPatil2005

Summary

refer to the todo in extralit/tests/integration/test_client.py
Move the client test suite from tests/integration/test_client.py to tests/unit/test_client_unit.py.
Create a MockClient implementation in tests/unit/client_mocks.py to simulate API behavior without external dependencies.
This change addresses the TODO in the original test file and improves test isolation and speed.

Motivation

todo given

Proposed Refactor

Move the client test suite from tests/integration/test_client.py to tests/unit/test_client_unit.py.
Create a MockClient implementation in tests/unit/client_mocks.py to simulate API behavior without external dependencies.
This change addresses the TODO in the original test file and improves test isolation and speed.

Acceptance Criteria

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorCode refactoring or technical debt improvements

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions