neutron/neutron/tests
Flavio Fernandes 4ac33d1a9b port_forwarding: validate args before invoking db update
Add validator to update_floatingip_port_forwarding so codepath does not
attempt performing invalid database operation. With that, operation fails
right away, with a hint on the offending argument(s).

This is a backport that combines changes from 2 changes that go together:
https://review.opendev.org/#/c/738145/
https://review.opendev.org/#/c/744993/

Note: pep8 failed with following error:
  ./neutron/tests/unit/services/portforwarding/test_pf_plugin.py:237:9:
  ./neutron/tests/unit/services/portforwarding/test_pf_plugin.py:261:9:
    N322  Possible use of no-op mock method. please use assert_called_once_with.
        mock_pf_get_objects.assert_called_once()
        ^
So additional changes were needed for backport.

Change-Id: I8284b22c5d691bfd9eadeb8590c3d4b27d261b04
Closes-Bug: #1878299
(cherry picked from commit f379740348)
(cherry picked from commit 838399f0a4)
2020-08-06 14:38:29 -04:00
..
common Always set ovs bridge name in vif:binding-details 2020-01-02 17:28:41 +08:00
contrib Fix rocky gates, multiple fixes 2020-07-03 12:44:37 +02:00
etc List SG rules which belongs to tenant's SG 2020-01-29 08:04:16 +00:00
fullstack Increase waiting time for network rescheduling 2020-04-07 20:19:15 +00:00
functional [DVR] Related routers should be included if are requested 2020-07-10 13:30:47 +00:00
tempest Removing remaining Tempest bits 2018-03-26 11:41:35 -05:00
unit port_forwarding: validate args before invoking db update 2020-08-06 14:38:29 -04:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Handle DBConnectionError in skip_if_timeout decorator 2019-04-11 07:21:52 +00:00
fake_notifier.py FakeNotifier class 'topic' argument change to 'topics'. 2017-12-04 20:10:03 +01:00
post_mortem_debug.py
tools.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00