\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

tests.test_devicedetection Namespace Reference

Classes

string  data_file = "src/fiftyone_devicedetection_onpremise/cxx/device-detection-data/51Degrees-LiteV4.1.hash"
string  mobile_ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) AppleWebKit/604.4.7 (KHTML, like Gecko) Mobile/15C114"
float  minMobilePercentage = 0.72
float  maxUnknownPercentage = 0.002  newline  reader = csv.reader(file)  user_agents = list(reader)  no_user_agents = len(user_agents)

Variable Documentation

◆ data_file

string tests.test_devicedetection.data_file = "src/fiftyone_devicedetection_onpremise/cxx/device-detection-data/51Degrees-LiteV4.1.hash"

◆ maxUnknownPercentage

float tests.test_devicedetection.maxUnknownPercentage = 0.002

◆ minMobilePercentage

float tests.test_devicedetection.minMobilePercentage = 0.72

◆ mobile_ua

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

◆ newline

tests.test_devicedetection.newline

◆ no_user_agents

tests.test_devicedetection.no_user_agents = len(user_agents)

◆ reader

tests.test_devicedetection.reader = csv.reader(file)

◆ user_agents

tests.test_devicedetection.user_agents = list(reader)
On This Page