Fix typos for Kuryr

endpiont --> endpoint

Change-Id: I1608c599baad9bb592d7792f74290a2bee0786db
This commit is contained in:
PanFengyun 2016-07-20 13:18:41 +08:00
parent f94a88a3c4
commit bfa3e2cc6a
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class TestKuryrJoinFailures(base.TestKuryrFailures):
return response
def _port_bind_with_exeption(self, docker_endpiont_id, neutron_port,
def _port_bind_with_exeption(self, docker_endpoint_id, neutron_port,
neutron_subnets, ex):
fake_ifname = 'fake-veth'
fake_binding_response = (
@ -53,10 +53,10 @@ class TestKuryrJoinFailures(base.TestKuryrFailures):
self.mox.StubOutWithMock(binding, 'port_bind')
if ex:
binding.port_bind(
docker_endpiont_id, neutron_port, neutron_subnets).AndRaise(ex)
docker_endpoint_id, neutron_port, neutron_subnets).AndRaise(ex)
else:
binding.port_bind(
docker_endpiont_id, neutron_port, neutron_subnets).AndReturn(
docker_endpoint_id, neutron_port, neutron_subnets).AndReturn(
fake_binding_response)
self.mox.ReplayAll()