diff --git a/neutron/tests/unit/extensions/test_l3.py b/neutron/tests/unit/extensions/test_l3.py index 2cb6fb06d18..18ab5a6e8a6 100644 --- a/neutron/tests/unit/extensions/test_l3.py +++ b/neutron/tests/unit/extensions/test_l3.py @@ -3144,7 +3144,7 @@ class L3NatTestCaseBase(L3NatTestCaseMixin): l3_models.RouterPort.router_id, models_v2.IPAllocation.ip_address ).join( - models_v2.Port, models_v2.IPAllocation + l3_models.RouterPort.port, models_v2.Port.fixed_ips ).filter( models_v2.Port.network_id == internal_port['network_id'], l3_models.RouterPort.port_type.in_(