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
This commit is contained in:
Slawek Kaplonski 2019-02-01 14:40:37 +01:00
parent f3810d0da3
commit 24362fb973
1 changed files with 3 additions and 1 deletions

View File

@ -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()