Bug 502 improvements 37/6337/1
authorAdam Israel <adam.israel@canonical.com>
Tue, 17 Jul 2018 16:17:06 +0000 (12:17 -0400)
committerAdam Israel <adam.israel@canonical.com>
Tue, 17 Jul 2018 16:17:06 +0000 (12:17 -0400)
commit7d871fb2c3d543959b20e3245294faa1b999e014
tree80ee63fd2e47d499366bdd12e00f3b1a2ef39d67
parent98bf3866dcbc9ec0d9f34536cb50112df7e31790
Bug 502 improvements

While investigating bug 502, I found that the type mismatch is actually
being generated elsewhere (being investigated).

This adds a test that will trigger the exception, and makes sure that
executing a primitive will return the correct type of exception if it
fails.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
n2vc/vnf.py
tests/test_primitive_non-string_parameter.py [new file with mode: 0644]