enconnect.irc.test package#

Submodules#

enconnect.irc.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.irc.test.helpers.IRCClientSocket(*args, **kwargs)[source]#

Bases: Protocol

Typing protocol which the developer does not understand.

enconnect.irc.test.helpers.client_ircsock(mocker: MockerFixture) IRCClientSocket[source]#

Construct the instance for use in the downstream tests.

Parameters:

mocker – Object for mocking the Python routines.

Returns:

Newly constructed instance of related class.

enconnect.irc.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.irc.test.test_client.client() Client[source]#

Construct the instance for use in the downstream tests.

Returns:

Newly constructed instance of related class.

enconnect.irc.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.irc.test.test_client.test_Client_connect(client: Client, client_ircsock: IRCClientSocket) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • client – Class instance for connecting to service.

  • client_ircsock – Object to mock client connection.

enconnect.irc.test.test_client.test_Client_cover(client: Client) None[source]#

Perform various tests associated with relevant routines.

Parameters:

client – Class instance for connecting to service.

enconnect.irc.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.irc.test.test_models.test_ClientEvent() None[source]#

Perform various tests associated with relevant routines.

enconnect.irc.test.test_models.test_ClientEvent_cover(client_ircsock: IRCClientSocket) None[source]#

Perform various tests associated with relevant routines.

Note

Duplicative test routine as below but with EVENTS.

Parameters:

client_ircsock – Object to mock client connection.

enconnect.irc.test.test_models.test_ClientEvent_service(client_ircsock: IRCClientSocket) None[source]#

Perform various tests associated with relevant routines.

Note

Duplicative test routine as above but with SVENTS.

Parameters:

client_ircsock – 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.irc.test.IRCClientSocket(*args, **kwargs)[source]#

Bases: Protocol

Typing protocol which the developer does not understand.

enconnect.irc.test.client_ircsock(mocker: MockerFixture) IRCClientSocket[source]#

Construct the instance for use in the downstream tests.

Parameters:

mocker – Object for mocking the Python routines.

Returns:

Newly constructed instance of related class.