Merge "Remove usage of six"
This commit is contained in:
commit
54d4d23a18
@ -5,6 +5,5 @@
|
||||
pbr>=2.0 # Apache-2.0
|
||||
oslo.config>=6.0.0 # Apache-2.0
|
||||
oslo.utils>=3.37.0 # Apache-2.0
|
||||
six>=1.10.0 # MIT
|
||||
tempest>=17.1.0 # Apache-2.0
|
||||
gabbi>=1.30.0 # Apache-2.0
|
||||
|
@ -15,7 +15,8 @@
|
||||
|
||||
import json
|
||||
|
||||
from six.moves.urllib import parse as urllib
|
||||
from urllib import parse
|
||||
|
||||
from tempest import clients as tempest_clients
|
||||
from tempest import config
|
||||
from tempest.lib.common import rest_client
|
||||
@ -50,7 +51,7 @@ class AlarmingClient(rest_client.RestClient):
|
||||
if marker:
|
||||
uri_dict.update({'marker': marker})
|
||||
if uri_dict:
|
||||
uri += "?%s" % urllib.urlencode(uri_dict, doseq=True)
|
||||
uri += "?%s" % parse.urlencode(uri_dict, doseq=True)
|
||||
resp, body = self.get(uri)
|
||||
self.expected_success(200, resp.status)
|
||||
body = self.deserialize(body)
|
||||
|
Loading…
Reference in New Issue
Block a user