From a1fac106479f9c3c5559f8b2cfbc01fe12d3a575 Mon Sep 17 00:00:00 2001 From: Elena Ezhova Date: Tue, 14 Oct 2014 10:12:59 +0400 Subject: [PATCH] Handle unused set_context in L3NatTestCaseMixin.floatingip_with_assoc set_context which is passed to floatingip_with_assoc method is not passed further to self._make_floatingip. Change-Id: Iecf2ad88e4bad5b1f8fd60668401863bdeecce8f Closes-Bug: #1378756 --- neutron/tests/unit/test_l3_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/tests/unit/test_l3_plugin.py b/neutron/tests/unit/test_l3_plugin.py index 6b82d1759..e81a32028 100644 --- a/neutron/tests/unit/test_l3_plugin.py +++ b/neutron/tests/unit/test_l3_plugin.py @@ -477,7 +477,7 @@ class L3NatTestCaseMixin(object): public_sub['subnet']['network_id'], port_id=private_port['port']['id'], fixed_ip=fixed_ip, - set_context=False) + set_context=set_context) yield floatingip if floatingip: -- 2.45.2