Skip to content

Create generic MockState object for all Mock classes #48

@LevBernstein

Description

@LevBernstein

Almost all Nextcord classes that require mocking have a _state attribute. Each mock classes currently implements its own version of a mock nextcord.state.ConnectionState to handle everything references to _state should do. Ideally, there would be only one MockConnectionState class defined, with each class calling that mock state class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingFor use in bb_test with pytest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions