Skip to content

Create generic MockState object for all Mock classes #48

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.

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

    testingFor use in bb_test with pytest

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions