aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/decorators.py
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Add can_dump_request_to_file decoratorCédric Ollivier1-0/+36
can_dump_request_to_file can be called to dump any request data to a local file as defined by test_db_url. If its scheme is file, Session.send() is patched. Else the behavior is kept unchanged. Change-Id: Id219dad274b5f02a05259a2ed13e882c04eea7b4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>