Device Detection services for 51Degrees Pipeline

tests.test_update_matched_useragent Namespace Reference

Classes

class  UpdateMatchedUserAgentTests
 The Update Matched User Agent option is on unless it is turned off, so the UserAgents property holds the characters of the evidence that were matched. More...

Variables

 DATA_FILE
tuple MOBILE_UA
str UNMATCHED = "_"

Variable Documentation

◆ DATA_FILE

tests.test_update_matched_useragent.DATA_FILE
Initial value:
= os.path.normpath(os.path.join(
os.path.dirname(os.path.abspath(__file__)), "..", "..", "..", "cxx",
"data", "device-detection", "51Degrees-LiteV4.1.hash"))

◆ MOBILE_UA

tuple tests.test_update_matched_useragent.MOBILE_UA
Initial value:
= (
"Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) "
"AppleWebKit/604.4.7 (KHTML, like Gecko) Mobile/15C114")

◆ UNMATCHED

str tests.test_update_matched_useragent.UNMATCHED = "_"