51Degrees Pipeline for Python

tests.test_cloudengine.CloudEngineTests Class Reference

Inheritance diagram for tests.test_cloudengine.CloudEngineTests:

[legend]

Collaboration diagram for tests.test_cloudengine.CloudEngineTests:

[legend]

Public Member Functions

 setUp (self)
 test_cloud_engine (self)
 Verify that cloud engine returns isMobile property in response.
 test_cloud_post_request_with_sequence_evidence (self)
 Verify that making POST request with SequenceElement evidence will not return any errors from cloud.
 test_cloud_get_request_with_sequence_evidence (self)
 Verify that making GET request with SequenceElement evidence in query params will not return an error from cloud This is an integration test that uses the live cloud service so any problems with that service could affect the result of this test.
 test_HttpDataSetInException (self)
 Check that errors from the cloud service will cause the appropriate data to be set in the CloudRequestException.

Public Attributes

 resource_key = os.environ.get("resource_key")

Member Function Documentation

◆ setUp()

tests.test_cloudengine.CloudEngineTests.setUp ( self)

◆ test_cloud_engine()

tests.test_cloudengine.CloudEngineTests.test_cloud_engine ( self)

Verify that cloud engine returns isMobile property in response.

This is an integration test that uses the live cloud service so any problems with that service could affect the result of this test.

◆ test_cloud_get_request_with_sequence_evidence()

tests.test_cloudengine.CloudEngineTests.test_cloud_get_request_with_sequence_evidence ( self)

Verify that making GET request with SequenceElement evidence in query params will not return an error from cloud This is an integration test that uses the live cloud service so any problems with that service could affect the result of this test.

◆ test_cloud_post_request_with_sequence_evidence()

tests.test_cloudengine.CloudEngineTests.test_cloud_post_request_with_sequence_evidence ( self)

Verify that making POST request with SequenceElement evidence will not return any errors from cloud.

This is an integration test that uses the live cloud service so any problems with that service could affect the result of this test.

◆ test_HttpDataSetInException()

tests.test_cloudengine.CloudEngineTests.test_HttpDataSetInException ( self)

Check that errors from the cloud service will cause the appropriate data to be set in the CloudRequestException.

Member Data Documentation

◆ resource_key

tests.test_cloudengine.CloudEngineTests.resource_key = os.environ.get("resource_key")