Remove anyjson test dependency
This is unneeded, we can just use json here and not need an additional dep, since we use the json module in many places in Cinder. Change-Id: I5988c190659d349ad16debb4cd6e435e325975fe
This commit is contained in:
parent
850a197226
commit
efe7b1c0b2
@ -15,7 +15,7 @@
|
||||
import collections
|
||||
import functools
|
||||
|
||||
import anyjson
|
||||
import json
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from cinder import rpc
|
||||
@ -53,7 +53,7 @@ class FakeNotifier(object):
|
||||
# NOTE(sileht): simulate the kombu serializer
|
||||
# this permit to raise an exception if something have not
|
||||
# been serialized correctly
|
||||
anyjson.serialize(payload)
|
||||
json.dumps(payload)
|
||||
msg = dict(publisher_id=self.publisher_id,
|
||||
priority=priority,
|
||||
event_type=event_type,
|
||||
|
@ -5,7 +5,6 @@
|
||||
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||
hacking<0.12,>=0.11.0 # Apache-2.0
|
||||
|
||||
anyjson>=0.3.3 # BSD
|
||||
coverage>=4.0 # Apache-2.0
|
||||
ddt>=1.0.1 # MIT
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
|
Loading…
Reference in New Issue
Block a user