◆ data_file
| string tests.test_devicedetection.data_file = "src/fiftyone_devicedetection_onpremise/cxx/device-detection-data/51Degrees-LiteV4.1.hash" |
\r\n
| class | DeviceDetectionTests |
| string tests.test_devicedetection.data_file = "src/fiftyone_devicedetection_onpremise/cxx/device-detection-data/51Degrees-LiteV4.1.hash" |
| float tests.test_devicedetection.maxUnknownPercentage = 0.002 |
| float tests.test_devicedetection.minMobilePercentage = 0.72 |
| 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" |
| tests.test_devicedetection.newline |
| tests.test_devicedetection.no_user_agents = len(user_agents) |
| tests.test_devicedetection.reader = csv.reader(file) |
| tests.test_devicedetection.user_agents = list(reader) |