enhomie.homie.addons.test package#

Submodules#

enhomie.homie.addons.test.test_aspired module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

enhomie.homie.addons.test.test_aspired.test_HomieAspired(homie: Homie, bodies: TestBodies) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • homie – Primary class instance for Homie Automate.

  • bodies – Locations and groups for use in testing.

enhomie.homie.addons.test.test_aspired.test_HomieAspiredItem(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_aspired.test_HomieAspired_cover(tmp_path: Path, respx_mock: MockRouter, replaces: dict[str, Any], bodies: TestBodies) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • tmp_path – pytest object for temporal filesystem.

  • respx_mock – Object for mocking request operation.

  • replaces – Mapping of what to replace in samples.

  • bodies – Locations and groups for use in testing.

enhomie.homie.addons.test.test_desired module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

enhomie.homie.addons.test.test_desired.test_HomieDesired(homie: Homie, times: TestTimes) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • homie – Primary class instance for Homie Automate.

  • times – Times that are used with tests in project.

enhomie.homie.addons.test.test_desired.test_HomieDesiredItem(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_desired.test_HomieDesired_cover(tmp_path: Path, respx_mock: MockRouter, replaces: dict[str, Any], times: TestTimes) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • tmp_path – pytest object for temporal filesystem.

  • respx_mock – Object for mocking request operation.

  • replaces – Mapping of what to replace in samples.

  • times – Times that are used with tests in project.

enhomie.homie.addons.test.test_logger module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

enhomie.homie.addons.test.test_logger.test_HomieLogger(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_logger.test_HomieLogger_cover(homie: Homie, caplog: LogCaptureFixture) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • homie – Primary class instance for Homie Automate.

  • caplog – pytest object for capturing log message.

enhomie.homie.addons.test.test_logger.test_HomieLogger_message(homie: Homie, caplog: LogCaptureFixture) None[source]#

Perform various tests associated with relevant routines.

Parameters:
  • homie – Primary class instance for Homie Automate.

  • caplog – pytest object for capturing log message.

enhomie.homie.addons.test.test_persist module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

enhomie.homie.addons.test.test_persist.test_HomiePersist(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_persist.test_HomiePersist_cover(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_queue module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

enhomie.homie.addons.test.test_queue.test_HomieQueue(homie: Homie) None[source]#

Perform various tests associated with relevant routines.

Parameters:

homie – Primary class instance for Homie Automate.

enhomie.homie.addons.test.test_queue.test_HomieQueueItem() None[source]#

Perform various tests associated with relevant routines.

Module contents#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.