]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Handle unused set_context in L3NatTestCaseMixin.floatingip_with_assoc
authorElena Ezhova <eezhova@mirantis.com>
Tue, 14 Oct 2014 06:12:59 +0000 (10:12 +0400)
committerElena Ezhova <eezhova@mirantis.com>
Tue, 14 Oct 2014 06:12:59 +0000 (10:12 +0400)
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

index 6b82d1759cc2b7d1dbf7eb4f4000167f23559219..e81a32028c8c08e023738e30c8bf0ae9a6cb52f3 100644 (file)
@@ -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: