BGP unit test 'auth-type' errors
'auth-type' in position_names is wrong, and it should be modified to 'auth_type' for bgp peer. Change-Id: I54a7ab54500c8d3655212e81046becee241a8c18
This commit is contained in:
parent
41961a25fd
commit
c579701497
@ -148,7 +148,7 @@ class CLITestV20BGPPeerJSON(test_cli20.CLITestV20Base):
|
|||||||
'--peer-ip', peerip,
|
'--peer-ip', peerip,
|
||||||
'--remote-as', remote_asnum,
|
'--remote-as', remote_asnum,
|
||||||
'--auth-type', authType]
|
'--auth-type', authType]
|
||||||
position_names = ['name', 'peer_ip', 'remote_as', 'auth-type']
|
position_names = ['name', 'peer_ip', 'remote_as', 'auth_type']
|
||||||
position_values = [name, peerip, remote_asnum, authType]
|
position_values = [name, peerip, remote_asnum, authType]
|
||||||
exc = self.assertRaises(exceptions.CommandError,
|
exc = self.assertRaises(exceptions.CommandError,
|
||||||
self._test_create_resource,
|
self._test_create_resource,
|
||||||
|
Loading…
Reference in New Issue
Block a user