Skip to content
Snippets Groups Projects
Commit fb4792df authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Common - Type Checkers:

- Updated Assertions
parent 3e018146
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!288Resolve "Fix NBI tests by adding link_type field"
...@@ -532,7 +532,7 @@ def validate_device(message): ...@@ -532,7 +532,7 @@ def validate_device(message):
def validate_link(message): def validate_link(message):
assert isinstance(message, dict) assert isinstance(message, dict)
assert len(message.keys()) == 4 assert len(message.keys()) == 5
assert 'link_id' in message assert 'link_id' in message
validate_link_id(message['link_id']) validate_link_id(message['link_id'])
assert 'name' in message assert 'name' in message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment