Inheritance diagram for tests.test_cloudresponse.TestCloudResponse:
Collaboration diagram for tests.test_cloudresponse.TestCloudResponse:
Public Member Functions | |
| setUp (self) | |
| test_process (self) | |
| test_sub_properties (self) | |
| test_validate_error_handling_invalid_resourceKey (self) | |
| test_validate_error_handling_nodata (self) | |
| test_validate_error_handling_noerror_nosuccess (self) | |
Public Attributes | |
| http_client = self.mock_http() | |
Member Function Documentation
◆ setUp()
| tests.test_cloudresponse.TestCloudResponse.setUp | ( | self | ) |
◆ test_process()
| tests.test_cloudresponse.TestCloudResponse.test_process | ( | self | ) |
Test cloud request engine adds correct information to post request
and returns the response in the ElementData
◆ test_sub_properties()
| tests.test_cloudresponse.TestCloudResponse.test_sub_properties | ( | self | ) |
Verify that the CloudRequestEngine can correctly parse a
response from the accessible properties endpoint that contains
meta-data for sub-properties.
◆ test_validate_error_handling_invalid_resourceKey()
| tests.test_cloudresponse.TestCloudResponse.test_validate_error_handling_invalid_resourceKey | ( | self | ) |
Test cloud request engine handles errors from the cloud service
as expected.
An exception should be thrown by the cloud request engine
containing the errors from the cloud service when resource key
is invalid.
◆ test_validate_error_handling_nodata()
| tests.test_cloudresponse.TestCloudResponse.test_validate_error_handling_nodata | ( | self | ) |
Test cloud request engine handles a lack of data from the
cloud service as expected.
An exception should be thrown by the cloud request engine.
◆ test_validate_error_handling_noerror_nosuccess()
| tests.test_cloudresponse.TestCloudResponse.test_validate_error_handling_noerror_nosuccess | ( | self | ) |
Test cloud request engine handles no success error from the
cloud service as expected.
An exception should be thrown by the cloud request engine.
Member Data Documentation
◆ http_client
| tests.test_cloudresponse.TestCloudResponse.http_client = self.mock_http() |
