Enable OVSDB Connection unit tests for py3

The OVS Python library is available for Python 3 and these tests
now run fine under Python 3, so go ahead and run them.

Change-Id: I579e2d3d3e016befafc61332bcc9147aaa385fe0
This commit is contained in:
Terry Wilson 2016-10-03 03:20:58 -05:00
parent 4e33f2516e
commit 5c09536386
1 changed files with 0 additions and 3 deletions

View File

@ -20,7 +20,6 @@ from ovs import poller
from neutron.agent.ovsdb.native import connection
from neutron.agent.ovsdb.native import idlutils
from neutron.tests import base
from neutron.tests.common import helpers
class TestOVSNativeConnection(base.BaseTestCase):
@ -45,11 +44,9 @@ class TestOVSNativeConnection(base.BaseTestCase):
self.assertEqual(reg_all_called, helper.register_all.called)
self.assertEqual(reg_table_called, helper.register_table.called)
@helpers.requires_py2
def test_start_without_table_name_list(self):
self._test_start()
@helpers.requires_py2
def test_start_with_table_name_list(self):
self._test_start(table_name_list=['fake-table1', 'fake-table2'])