Remove usage of six
Because this plugin now supports pyton 3 only, usage of six is no
longer necessary.
Change-Id: I00cd2c6f9fd466c2a6fe486be6ad6929e893c9b0
diff --git a/requirements.txt b/requirements.txt
index 51dcad8..4e6bb28 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -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
diff --git a/telemetry_tempest_plugin/aodh/service/client.py b/telemetry_tempest_plugin/aodh/service/client.py
index 071bfff..369a9ed 100644
--- a/telemetry_tempest_plugin/aodh/service/client.py
+++ b/telemetry_tempest_plugin/aodh/service/client.py
@@ -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 @@
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)