Assign the wrapped function’s attributes
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 14 May 2017 06:50:32 +0000 (08:50 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 14 May 2017 06:58:09 +0000 (08:58 +0200)
commit0bbb24ff19753eca6f1e86dbf590b329d0b9c88c
treeaaa3adaae1f29713c77a6aecaa0bbc060e507163
parent6e0a0070d775cf5f266cda53eb7c004cecb0511c
Assign the wrapped function’s attributes

It mainly assigns to the wrapper push_results_to_db's __name__,
__module__ and __doc__ and the documentation string.

Change-Id: Idc882ac4e743699a4887e46c5066e0983c90afd9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/utils/decorators.py