Device Detection services for 51Degrees Pipeline

tests.test_properties.PropertyTests Class Reference

Inheritance diagram for tests.test_properties.PropertyTests:

[legend]

Collaboration diagram for tests.test_properties.PropertyTests:

[legend]

Public Member Functions

 setUpClass (cls)
 setUp (self)
 test_available_properties (self)
 Tests whether the all the properties present in the engine when initialised with a resource key are accessible.
 test_value_types (self)
 Tests value types of the properties present present in the engine.
 test_available_properties (self)
 Tests whether the all the properties present in the engine when initialised with a resource key are accessible.
 test_match_metrics_description (self)
 Tests whether the descriptions of all match metric properties are returned correctly.
 test_value_types (self)
 Tests value types of the properties present present in the engine.

Public Attributes

 resource_key = find_resource_key()
 pipeline = None
 properties_list
 engine = DeviceDetectionCloud()

Member Function Documentation

◆ setUp()

tests.test_properties.PropertyTests.setUp ( self)

◆ setUpClass()

tests.test_properties.PropertyTests.setUpClass ( cls)

◆ test_available_properties() [1/2]

tests.test_properties.PropertyTests.test_available_properties ( self)

Tests whether the all the properties present in the engine when initialised with a resource key are accessible.

◆ test_available_properties() [2/2]

tests.test_properties.PropertyTests.test_available_properties ( self)

Tests whether the all the properties present in the engine when initialised with a resource key are accessible.

◆ test_match_metrics_description()

tests.test_properties.PropertyTests.test_match_metrics_description ( self)

Tests whether the descriptions of all match metric properties are returned correctly.

◆ test_value_types() [1/2]

tests.test_properties.PropertyTests.test_value_types ( self)

Tests value types of the properties present present in the engine.

◆ test_value_types() [2/2]

tests.test_properties.PropertyTests.test_value_types ( self)

Tests value types of the properties present present in the engine.

Member Data Documentation

◆ engine

tests.test_properties.PropertyTests.engine = DeviceDetectionCloud()

◆ pipeline

tests.test_properties.PropertyTests.pipeline = None

◆ properties_list

tests.test_properties.PropertyTests.properties_list
Initial value:
= get_properties_from_header_file(
header_file_path)

◆ resource_key

tests.test_properties.PropertyTests.resource_key = find_resource_key()