enconnect.discord.test package#
Submodules#
enconnect.discord.test.helpers module#
Functions and routines associated with Enasis Network Remote Connect.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class enconnect.discord.test.helpers.DSCClientSocket(*args, **kwargs)[source]#
Bases:
Protocol
Typing protocol which the developer does not understand.
- enconnect.discord.test.helpers.client_dscsock(mocker: MockerFixture, respx_mock: MockRouter) DSCClientSocket [source]#
Construct the instance for use in the downstream tests.
- Parameters:
mocker – Object for mocking the Python routines.
respx_mock – Object for mocking request operation.
- Returns:
Newly constructed instance of related class.
enconnect.discord.test.test_client module#
Functions and routines associated with Enasis Network Remote Connect.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- enconnect.discord.test.test_client.client() Client [source]#
Construct the instance for use in the downstream tests.
- Returns:
Newly constructed instance of related class.
- enconnect.discord.test.test_client.test_Client(client: Client) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
client – Class instance for connecting to service.
- enconnect.discord.test.test_client.test_Client_connect(client: Client, client_dscsock: DSCClientSocket) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
client – Class instance for connecting to service.
client_dscsock – Object to mock client connection.
enconnect.discord.test.test_models module#
Functions and routines associated with Enasis Network Remote Connect.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- enconnect.discord.test.test_models.test_ClientEvent() None [source]#
Perform various tests associated with relevant routines.
- enconnect.discord.test.test_models.test_ClientEvent_cover(client_dscsock: DSCClientSocket) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
client_dscsock – Object to mock client connection.
Module contents#
Functions and routines associated with Enasis Network Remote Connect.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class enconnect.discord.test.DSCClientSocket(*args, **kwargs)[source]#
Bases:
Protocol
Typing protocol which the developer does not understand.
- enconnect.discord.test.client_dscsock(mocker: MockerFixture, respx_mock: MockRouter) DSCClientSocket [source]#
Construct the instance for use in the downstream tests.
- Parameters:
mocker – Object for mocking the Python routines.
respx_mock – Object for mocking request operation.
- Returns:
Newly constructed instance of related class.