diff options
author | Martin Kulhavy <martin.kulhavy@nokia.com> | 2017-07-11 15:06:04 +0300 |
---|---|---|
committer | Martin Kulhavy <martin.kulhavy@nokia.com> | 2017-07-11 17:52:40 +0300 |
commit | d0e5072abeea28d443626daada46038f16af3bd0 (patch) | |
tree | 26599c6f108c5c7a1b03e4419bdc89cac5677864 /commons | |
parent | 9138cc184b23cef2067605d6464e0acbd6bd105d (diff) |
Use decorators for mock patching
Instead of using the `with` clause, mock patching is prepended to each
testing method as a decorator.
Change-Id: Ieb962d6fd0b9a6cdc649c44e39f69b543426dce9
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
Diffstat (limited to 'commons')
0 files changed, 0 insertions, 0 deletions