Classes | |
| class | PropertyTests |
Functions | |
| tearDownModule () | |
Variables | |
| pytestmark = pytest.mark.live | |
| str | header_file_path = "./tests/51Degrees.csv" |
| tuple | mobile_ua |
| tuple | chrome_ua |
| list | exclude_properties = ["setheaderbrowseraccept-ch", "setheaderplatformaccept-ch", "setheaderhardwareaccept-ch"] |
| NO_KEY | |
| str | data_file = "../../cxx/data/device-detection/51Degrees-LiteV4.1.hash" |
| deviceDetectionOnPremiseEngine | |
| pipeline | |
Function Documentation
◆ tearDownModule()
| tearDownModule | ( | ) |
Variable Documentation
◆ chrome_ua
| tuple tests.test_properties.chrome_ua |
Initial value:
= ("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36")
◆ data_file
| str tests.test_properties.data_file = "../../cxx/data/device-detection/51Degrees-LiteV4.1.hash" |
◆ deviceDetectionOnPremiseEngine
| tests.test_properties.deviceDetectionOnPremiseEngine |
Initial value:
= DeviceDetectionOnPremise(
data_file_path = data_file,
licence_keys = "",
auto_update=False)
◆ exclude_properties
| list tests.test_properties.exclude_properties = ["setheaderbrowseraccept-ch", "setheaderplatformaccept-ch", "setheaderhardwareaccept-ch"] |
◆ header_file_path
| str tests.test_properties.header_file_path = "./tests/51Degrees.csv" |
◆ mobile_ua
| tuple mobile_ua |
Initial value:
= ("Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) "
"AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile"
"/11D167 Safari/9537.53")
◆ NO_KEY
| tests.test_properties.NO_KEY |
Initial value:
= no_resource_key(
"the device product",
"every device detection property listed in " + header_file_path,
several=True)
◆ pipeline
| tests.test_properties.pipeline |
◆ pytestmark
| tests.test_properties.pytestmark = pytest.mark.live |
