tests.unit.test_hcp module
Unit tests for the HCP client.
-
class tests.unit.test_hcp.HcpClientTests(methodName='runTest')[source]
Bases: IsolatedAsyncioTestCase
-
setUp()[source]
Set up test environment
-
async test_create_app_secret(mock_session)[source]
Unit test for create_app_secret
-
async test_delete_app_secret(mock_session)[source]
Unit test for delete_app_secret
-
async test_get_app_secret(mock_session)[source]
Unit test for get_app_secret
-
class tests.unit.test_hcp.MockResponse(text, status)[source]
Bases: object
-
async json()[source]
Mock response json
-
async text()[source]
Mock response text