Device Detection services for 51Degrees Pipeline

tests.test_cloud Namespace Reference

Classes

class  DeviceDetectionTests

Variables

 pytestmark = pytest.mark.live
 NO_KEY
str mobile_ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) AppleWebKit/604.4.7 (KHTML, like Gecko) Mobile/15C114"
list cloud_request_origin_test_params = [('', True), ('test.com', True), ('51Degrees.com', False)]

Variable Documentation

◆ cloud_request_origin_test_params

list tests.test_cloud.cloud_request_origin_test_params = [('', True), ('test.com', True), ('51Degrees.com', False)]

◆ mobile_ua

str tests.test_cloud.mobile_ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) AppleWebKit/604.4.7 (KHTML, like Gecko) Mobile/15C114"

◆ NO_KEY

tests.test_cloud.NO_KEY
Initial value:
= no_resource_key(
"the device product",
"device detection properties such as IsMobile, and their metadata",
several=True)

◆ pytestmark

tests.test_cloud.pytestmark = pytest.mark.live