\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

tests.test_cloudresponse.TestCloudResponse Class Reference

Inheritance diagram for tests.test_cloudresponse.TestCloudResponse:

[legend]

Collaboration diagram for tests.test_cloudresponse.TestCloudResponse:

[legend]

Public Member Functions

def  setUp (self)
def  test_process (self)
def  test_sub_properties (self)
def  test_validate_error_handling_invalid_resourceKey (self)
def  test_validate_error_handling_nodata (self)
def  test_validate_error_handling_noerror_nosuccess (self)

Public Attributes

 http_client

Member Function Documentation

◆ setUp()

def tests.test_cloudresponse.TestCloudResponse.setUp (   self )

◆ test_process()

def 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()

def 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()

def 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()

def 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()

def 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
On This Page