\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python
  • pipeline-python
  • fiftyone_pipeline_engines_fiftyone
  • tests
  • test_usage
  • UsageTests

pipeline-python.fiftyone_pipeline_engines_fiftyone.tests.test_usage.UsageTests Class Reference

Detailed Description

The Tests.

Inheritance diagram for pipeline-python.fiftyone_pipeline_engines_fiftyone.tests.test_usage.UsageTests:

[legend]

Collaboration diagram for pipeline-python.fiftyone_pipeline_engines_fiftyone.tests.test_usage.UsageTests:

[legend]

Public Member Functions

def  setUpClass (cls)
def  setUp (self)
def  tearDownClass (cls)
def  waitForUsageThreads (self)
def  test_data_received (self)
Check that data is received from the share usage element.
def  test_data_correct (self)
Check that the data received from the share usage element is correct.
def  test_includes_header (self)
Check that the data received from the share usage element contains the headers which were in the evidence.
def  test_client_ip (self)
Check that the data received from the share usage element includes the client IP from the evidence.
def  test_two_events_first (self)
Check that a single event is not sent when the requested package size is 2.
def  test_two_events_second (self)
Check that a single event is not sent when the requested package size is 2.
def  test_ignore_headers (self)
Check that the share usage element respects the headerBlacklist. More...
def  test_queue_cleared (self)
def  test_session_and_sequence (self)
Check that session and sequence values are included.
def  test_invalid_char (self)
Check that invalid characters are escaped correctly.
def  test_truncated_value (self)
Check that long values are truncated correctly.
def  test_send_more_than_once (self)
Check that the queue of data is correctly reset, and used for the next set of requests.
def  test_low_percentage (self)
Check that small portion sharing is done correctly.
def  test_includes_header (self)
Check that XML characters are escaped correctly.

Public Attributes

 receiver

Member Function Documentation

◆ test_ignore_headers()

def pipeline-python.fiftyone_pipeline_engines_fiftyone.tests.test_usage.UsageTests.test_ignore_headers (   self )

Check that the share usage element respects the headerBlacklist.

When header names are added to the list, values for them should not be included in the data shared.