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:
zhaojingjing0067370 2017-06-08 16:45:16 +08:00
parent 41961a25fd
commit c579701497
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class CLITestV20BGPPeerJSON(test_cli20.CLITestV20Base):
'--peer-ip', peerip,
'--remote-as', remote_asnum,
'--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]
exc = self.assertRaises(exceptions.CommandError,
self._test_create_resource,