Add test_netns_wrapper.py module for py34 support
Change-Id: I15f43db0244a20c7509085804b4c9bdfa5ba5000 Related-Bug: #1480326
This commit is contained in:
parent
c1aa06ee96
commit
5052bf7e8c
@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import ConfigParser
|
||||
import errno
|
||||
import os
|
||||
import sys
|
||||
@ -27,6 +26,11 @@ from oslo_log import log as logging
|
||||
from oslo_rootwrap import wrapper
|
||||
import six
|
||||
|
||||
if six.PY3:
|
||||
import configparser as ConfigParser
|
||||
else:
|
||||
import ConfigParser
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
1
tox.ini
1
tox.ini
@ -90,6 +90,7 @@ commands = sphinx-build -W -b html doc/source doc/build
|
||||
|
||||
[testenv:py34]
|
||||
commands = python -m testtools.run \
|
||||
neutron_vpnaas.tests.unit.services.vpn.common.test_netns_wrapper \
|
||||
neutron_vpnaas.tests.unit.extensions.test_vpnaas \
|
||||
neutron_vpnaas.tests.unit.services.vpn.device_drivers.test_ipsec \
|
||||
neutron_vpnaas.tests.unit.services.vpn.test_vpn_service \
|
||||
|
Loading…
Reference in New Issue
Block a user