Add test_netns_wrapper.py module for py34 support

Change-Id: I15f43db0244a20c7509085804b4c9bdfa5ba5000
Related-Bug: #1480326
This commit is contained in:
Nick 2015-08-11 17:12:14 +08:00
parent c1aa06ee96
commit 5052bf7e8c
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -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 \