Device Detection services for 51Degrees Pipeline

tests.test_devicedetection.DeviceDetectionCacheTests Class Reference

Inheritance diagram for tests.test_devicedetection.DeviceDetectionCacheTests:

[legend]

Collaboration diagram for tests.test_devicedetection.DeviceDetectionCacheTests:

[legend]

Public Member Functions

 test_engine_refuses_cache_argument (self)
 Tests that the on-premise engine refuses a cache passed to its constructor, because its results read from native memory that cannot be shared between requests.
 test_engine_refuses_set_cache (self)
 Tests that the on-premise engine refuses a cache set on it.
 test_pipeline_builder_refuses_cache (self)
 Tests that the on-premise pipeline builder refuses a cache setting.

Member Function Documentation

◆ test_engine_refuses_cache_argument()

tests.test_devicedetection.DeviceDetectionCacheTests.test_engine_refuses_cache_argument ( self)

Tests that the on-premise engine refuses a cache passed to its constructor, because its results read from native memory that cannot be shared between requests.

◆ test_engine_refuses_set_cache()

tests.test_devicedetection.DeviceDetectionCacheTests.test_engine_refuses_set_cache ( self)

Tests that the on-premise engine refuses a cache set on it.

◆ test_pipeline_builder_refuses_cache()

tests.test_devicedetection.DeviceDetectionCacheTests.test_pipeline_builder_refuses_cache ( self)

Tests that the on-premise pipeline builder refuses a cache setting.