Merge "Remove six usage"

This commit is contained in:
Zuul 2020-01-21 09:57:52 +00:00 committed by Gerrit Code Review
commit 9b84c8a292
2 changed files with 1 additions and 7 deletions

View File

@ -12,7 +12,6 @@
from openstack_dashboard.test.test_data import exceptions
from openstack_dashboard.test.test_data import utils
import six
import blazarclient.exception as blazar_exceptions
@ -38,12 +37,8 @@ def create_stubbed_exception(cls, status_code=500):
def fake_str(self):
return str(self.message)
def fake_unicode(self):
return six.text_type(self.message)
cls.__init__ = fake_init_exception
cls.__str__ = fake_str
cls.__unicode__ = fake_unicode
cls.silence_logging = True
return cls(status_code, msg)

View File

@ -14,7 +14,7 @@ Django==2.2
extras==1.0.0
fixtures==3.0.0
flake8==2.5.5
hacking==0.12.0
hacking==1.1.0
horizon==17.1.0
idna==2.6
iso8601==0.1.12
@ -54,7 +54,6 @@ rcssmin==1.0.6
requests==2.18.4
rfc3986==1.1.0
rjsmin==1.0.12
six==1.11.0
stevedore==1.28.0
termcolor==1.1.0
testtools==2.2.0