summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-01-25 08:00:40 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-25 15:57:14 +0000
commite0545ef85ab136a51c42319935834d08a35eaa90 (patch)
tree4ccb026e7b6cfbbdd6e76a0dd35e0e5fae1e7f07 /src/vnet/interface.c
parentd2c97d988b2fbc28f0905d1826b428967d09348a (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 'src/vnet/interface.c')
0 files changed, 0 insertions, 0 deletions