Merge "Remove jsonutils usage"

This commit is contained in:
Zuul 2017-12-13 12:41:37 +00:00 committed by Gerrit Code Review
commit d894e793f6
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):