Use six.moves.urllib.parse to replace urlparse

Import six.moves.urllib.parse as urlparse for python3 compatible.

Change-Id: I0f28f01a54daaa690cd890540fd4edc3b32411d1
Closes-Bug: #1279611
This commit is contained in:
Tin Lam 2016-02-17 00:27:37 -06:00
parent 663bb3d410
commit 84fc9dc40d
1 changed files with 1 additions and 2 deletions

View File

@ -17,11 +17,10 @@ import functools
from os import path
import time
import types
import urlparse
import oslotest.base as oslotest
import six
import six.moves.urllib.parse as urlparse
class BaseTestCase(oslotest.BaseTestCase):
def setUp(self):