Extra indent in test_ovs_neutron_agent
This patch removes extra indent errors from test_ovs_neutron_agent Change-Id: I1270cca3699b7874047f7812710f2611cc465493
This commit is contained in:
parent
fd1479f3f6
commit
052054133a
@ -631,15 +631,15 @@ class TestOvsNeutronAgent(object):
|
||||
"phys_veth_ofport")
|
||||
|
||||
def test_get_peer_name(self):
|
||||
bridge1 = "A_REALLY_LONG_BRIDGE_NAME1"
|
||||
bridge2 = "A_REALLY_LONG_BRIDGE_NAME2"
|
||||
self.agent.use_veth_interconnection = True
|
||||
self.assertEqual(len(self.agent.get_peer_name('int-', bridge1)),
|
||||
n_const.DEVICE_NAME_MAX_LEN)
|
||||
self.assertEqual(len(self.agent.get_peer_name('int-', bridge2)),
|
||||
n_const.DEVICE_NAME_MAX_LEN)
|
||||
self.assertNotEqual(self.agent.get_peer_name('int-', bridge1),
|
||||
self.agent.get_peer_name('int-', bridge2))
|
||||
bridge1 = "A_REALLY_LONG_BRIDGE_NAME1"
|
||||
bridge2 = "A_REALLY_LONG_BRIDGE_NAME2"
|
||||
self.agent.use_veth_interconnection = True
|
||||
self.assertEqual(len(self.agent.get_peer_name('int-', bridge1)),
|
||||
n_const.DEVICE_NAME_MAX_LEN)
|
||||
self.assertEqual(len(self.agent.get_peer_name('int-', bridge2)),
|
||||
n_const.DEVICE_NAME_MAX_LEN)
|
||||
self.assertNotEqual(self.agent.get_peer_name('int-', bridge1),
|
||||
self.agent.get_peer_name('int-', bridge2))
|
||||
|
||||
def test_setup_tunnel_br(self):
|
||||
self.tun_br = mock.Mock()
|
||||
|
Loading…
Reference in New Issue
Block a user