fiftyone-devicedetection-cloud 4.5.89__tar.gz → 4.5.91__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/PKG-INFO +1 -1
  2. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud.egg-info/PKG-INFO +1 -1
  3. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/tests/test_properties.py +7 -5
  4. fiftyone_devicedetection_cloud-4.5.91/version.txt +1 -0
  5. fiftyone_devicedetection_cloud-4.5.89/version.txt +0 -1
  6. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/MANIFEST.in +0 -0
  7. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/pyproject.toml +0 -0
  8. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/readme.md +0 -0
  9. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/setup.cfg +0 -0
  10. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/setup.py +0 -0
  11. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud/__init__.py +0 -0
  12. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud/devicedetection_cloud.py +0 -0
  13. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud/devicedetection_cloud_pipelinebuilder.py +0 -0
  14. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud/hardwareprofile_cloud.py +0 -0
  15. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud.egg-info/SOURCES.txt +0 -0
  16. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud.egg-info/dependency_links.txt +0 -0
  17. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud.egg-info/requires.txt +0 -0
  18. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/src/fiftyone_devicedetection_cloud.egg-info/top_level.txt +0 -0
  19. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/tests/test_cloud.py +0 -0
  20. {fiftyone_devicedetection_cloud-4.5.89 → fiftyone_devicedetection_cloud-4.5.91}/tests/test_hardwareprofile_cloud.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fiftyone_devicedetection_cloud
3
- Version: 4.5.89
3
+ Version: 4.5.91
4
4
  Summary: 51Degrees Device Detection parses HTTP headers to return detailed hardware, operating system, browser, and crawler information for the devices used to access your website or service. This package retrieves device detection results by consuming the 51Degrees cloud service.
5
5
  Home-page: https://51degrees.com/?utm_source=pypi&utm_medium=package&utm_campaign=device-detection-python&utm_content=fiftyone_devicedetection_cloud-setup.py&utm_term=url
6
6
  Author: 51Degrees Engineering
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fiftyone_devicedetection_cloud
3
- Version: 4.5.89
3
+ Version: 4.5.91
4
4
  Summary: 51Degrees Device Detection parses HTTP headers to return detailed hardware, operating system, browser, and crawler information for the devices used to access your website or service. This package retrieves device detection results by consuming the 51Degrees cloud service.
5
5
  Home-page: https://51degrees.com/?utm_source=pypi&utm_medium=package&utm_campaign=device-detection-python&utm_content=fiftyone_devicedetection_cloud-setup.py&utm_term=url
6
6
  Author: 51Degrees Engineering
@@ -147,9 +147,11 @@ class PropertyTests(unittest.TestCase):
147
147
  if(property in dd_property_dict and property not in exclude_properties):
148
148
  dd_property_value = dd_property_dict[property]
149
149
 
150
- value = dd_property_value.value()
151
-
152
150
  self.assertIsNotNone(dd_property_value, "Property: " + property + " is not present in the results.")
153
- self.assertTrue(is_same_type(value, expected_type),
154
- "Expected type for " + property + " is " + expected_type +
155
- " but actual type is " + get_value_type(value))
151
+ if dd_property_value.has_value():
152
+ value = dd_property_value.value()
153
+ self.assertTrue(is_same_type(value, expected_type),
154
+ "Expected type for " + property + " is " + expected_type +
155
+ " but actual type is " + get_value_type(value))
156
+ else:
157
+ self.assertIsNotNone(dd_property_value.no_value_message())
@@ -0,0 +1 @@
1
+ 4.5.91
@@ -1 +0,0 @@
1
- 4.5.89