51Degrees Pipeline for Python

tests.test_web.WebEvidenceTests Class Reference

Inheritance diagram for tests.test_web.WebEvidenceTests:

[legend]

Collaboration diagram for tests.test_web.WebEvidenceTests:

[legend]

Public Member Functions

 setUp (self)
 test_form_values_are_query_evidence (self)
 test_form_value_replaces_query_string_value (self)
 test_get_request_reads_the_query_string (self)
 test_non_form_body_is_not_read (self)

Public Attributes

 app = Flask(__name__)

Member Function Documentation

◆ setUp()

tests.test_web.WebEvidenceTests.setUp ( self)

◆ test_form_value_replaces_query_string_value()

tests.test_web.WebEvidenceTests.test_form_value_replaces_query_string_value ( self)
Form fields are added after the query string, so the value the
script sent in its body is the one used.

◆ test_form_values_are_query_evidence()

tests.test_web.WebEvidenceTests.test_form_values_are_query_evidence ( self)
The client script posts the results of its snippets, the session
id and the sequence as a form body. Each form field is query
evidence, as in the other languages' web integrations, or none of
that reaches the pipeline.

◆ test_get_request_reads_the_query_string()

tests.test_web.WebEvidenceTests.test_get_request_reads_the_query_string ( self)

◆ test_non_form_body_is_not_read()

tests.test_web.WebEvidenceTests.test_non_form_body_is_not_read ( self)
Only a form body carries evidence. A JSON body is left alone.

Member Data Documentation

◆ app

tests.test_web.WebEvidenceTests.app = Flask(__name__)