diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-01-25 08:00:40 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-01-25 15:57:14 +0000 |
commit | e0545ef85ab136a51c42319935834d08a35eaa90 (patch) | |
tree | 4ccb026e7b6cfbbdd6e76a0dd35e0e5fae1e7f07 /RELEASE.md | |
parent | d2c97d988b2fbc28f0905d1826b428967d09348a (diff) |
make test: elegantly handle expected API failures
Allow writing simple code to expect API failure when needed:
with self.vapi.expect_negative_api_retval():
do_api_call() # expected to return negative retval in response
Change-Id: Id58d91d9ce38d20ad6ff7a43a6897e79ffbd23bf
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'RELEASE.md')
0 files changed, 0 insertions, 0 deletions