enhomie.philips.plugins.test package#
Submodules#
enhomie.philips.plugins.test.test_change 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.philips.plugins.test.test_change.test_DriverPhueChange(homie: Homie, bodies: TestBodies, times: TestTimes) 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.
times – Times that are used with tests in project.
- enhomie.philips.plugins.test.test_change.test_DriverPhueChange_cover(tmp_path: Path, respx_mock: MockRouter, 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.
times – Times that are used with tests in project.
enhomie.philips.plugins.test.test_contact 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.philips.plugins.test.test_contact.test_DriverPhueContact(homie: Homie, replaces: dict[str, Any], bodies: TestBodies) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
homie – Primary class instance for Homie Automate.
replaces – Mapping of what to replace in samples.
bodies – Locations and groups for use in testing.
- enhomie.philips.plugins.test.test_contact.test_DriverPhueContact_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.philips.plugins.test.test_helpers 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.philips.plugins.test.test_helpers.test_phue_changed(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.philips.plugins.test.test_helpers.test_phue_current(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.philips.plugins.test.test_helpers.test_phue_sensors(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.philips.plugins.test.test_motion 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.philips.plugins.test.test_motion.test_DriverPhueMotion(homie: Homie, replaces: dict[str, Any], bodies: TestBodies) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
homie – Primary class instance for Homie Automate.
replaces – Mapping of what to replace in samples.
bodies – Locations and groups for use in testing.
- enhomie.philips.plugins.test.test_motion.test_DriverPhueMotion_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.philips.plugins.test.test_scene 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.philips.plugins.test.test_scene.test_DriverPhueScene(homie: Homie, replaces: dict[str, Any], bodies: TestBodies) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
homie – Primary class instance for Homie Automate.
replaces – Mapping of what to replace in samples.
bodies – Locations and groups for use in testing.
- enhomie.philips.plugins.test.test_scene.test_DriverPhueScene_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.
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.