From 24362fb973fe50e7671a90c6f60b68c4a315ba68 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 1 Feb 2019 14:40:37 +0100 Subject: [PATCH] Fix port forwarding functional tests logging This test class now inherits also from neutron.tests.functional.base.BaseLoggingTestCase so logs from those tests will be logged in file. Change-Id: I69516e7417a655e320c3482ae7e59a3ba8891290 --- .../services/portforwarding/test_port_forwarding.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neutron/tests/functional/services/portforwarding/test_port_forwarding.py b/neutron/tests/functional/services/portforwarding/test_port_forwarding.py index ad3c0d9e645..ee2678d5bac 100644 --- a/neutron/tests/functional/services/portforwarding/test_port_forwarding.py +++ b/neutron/tests/functional/services/portforwarding/test_port_forwarding.py @@ -25,10 +25,12 @@ from six.moves import queue from neutron.services.portforwarding.common import exceptions as pf_exc from neutron.services.portforwarding import pf_plugin +from neutron.tests.functional import base as functional_base from neutron.tests.unit.plugins.ml2 import base as ml2_test_base -class PortForwardingTestCaseBase(ml2_test_base.ML2TestFramework): +class PortForwardingTestCaseBase(ml2_test_base.ML2TestFramework, + functional_base.BaseLoggingTestCase): def setUp(self): super(PortForwardingTestCaseBase, self).setUp() self.pf_plugin = pf_plugin.PortForwardingPlugin()