enhomie.restful.test package#
Submodules#
enhomie.restful.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.restful.test.test_persist.test_get_persists(homie: Homie, restful: RestfulService, client: TestClient) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
homie – Primary class instance for Homie Automate.
restful – Ancilary Homie Automate class instance.
client – Used when testing the FastAPI endpoints.
enhomie.restful.test.test_service 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.restful.test.test_service.test_RestfulService(tmp_path: Path, respx_mock: MockRouter) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
tmp_path – pytest object for temporal filesystem.
respx_mock – Object for mocking request operation.
- enhomie.restful.test.test_service.test_RestfulService_cover(tmp_path: Path, respx_mock: MockRouter) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
tmp_path – pytest object for temporal filesystem.
respx_mock – Object for mocking request operation.
- enhomie.restful.test.test_service.test_RestfulService_forbid(client: TestClient, mismatch: TestClient, invalid: TestClient) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
client – Used when testing the FastAPI endpoints.
mismatch – Used when testing the FastAPI endpoints.
invalid – Used when testing the FastAPI endpoints.
enhomie.restful.test.test_static 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.restful.test.test_static.test_get_static(restful: RestfulService, client: TestClient) None [source]#
Perform various tests associated with relevant routines.
- Parameters:
restful – Ancilary Homie Automate class instance.
client – Used when testing the FastAPI endpoints.
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.