Remove jsonutils usage

Panko does not depends on oslo.serialization while it is using it. However,
since it does not really need it, let's use the regular json attribute anyway.

Change-Id: I63e5927c625d0a080bd6a9ea77ff939253039d5e
This commit is contained in:
Julien Danjou 2017-11-22 11:12:08 +01:00
parent 92e25f55db
commit 70219e3188
1 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,6 @@
import datetime
from oslo_serialization import jsonutils
from oslo_utils import uuidutils
import webtest.app
@ -762,7 +761,7 @@ class TestEventSort(EventTestBase):
"':', or only sort key specified and sort dir will "
"be default 'asc', the supported sort keys are: "
"('message_id', 'generated')",
jsonutils.loads(resp.body)['error_message']
resp.json['error_message']
['faultstring'])
def test_invalid_sort_dir(self):
@ -776,7 +775,7 @@ class TestEventSort(EventTestBase):
"with ':', or only sort key specified and sort dir "
"will be default 'asc', the supported sort "
"directions are: ('asc', 'desc')",
jsonutils.loads(resp.body)['error_message']
resp.json['error_message']
['faultstring'])
def test_sort_message_id(self):