Browse Source

Update json module to jsonutils

oslo project provide jsonutils, and the others use it in many place,
this PS to update the json moudule to oslo jsonutils for consistency.

Change-Id: I3502f8f9e15cfc718f6665fb1c4f350e0cb05c0e
changes/61/638961/1
cao.yuan 8 months ago
parent
commit
6642fde1ba

+ 2
- 1
murano_tempest_tests/services/application_catalog/application_catalog_client.py View File

@@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.

import json
import os

from oslo_serialization import jsonutils as json

import requests
from tempest import config
from tempest.lib.common import rest_client

+ 2
- 1
murano_tempest_tests/services/artifacts/artifacts_client.py View File

@@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.

import json
import os

from oslo_serialization import jsonutils as json

from tempest import config
from tempest.lib.common import rest_client


+ 2
- 1
murano_tempest_tests/services/service_broker/service_broker_client.py View File

@@ -14,7 +14,8 @@
# under the License.

import base64
import json

from oslo_serialization import jsonutils as json

from tempest import config
from tempest.lib.common import rest_client

+ 2
- 1
murano_tempest_tests/tests/api/service_broker/base.py View File

@@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.

import json
import time

from oslo_serialization import jsonutils as json

from tempest.common import credentials_factory as common_creds
from tempest import config
from tempest.lib import exceptions

+ 2
- 1
murano_tempest_tests/tests/api/service_broker/test_service_broker_actions.py View File

@@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.

import json
import os

from oslo_serialization import jsonutils as json

from tempest.lib import decorators

from murano_tempest_tests.tests.api.service_broker import base

+ 1
- 1
murano_tempest_tests/tests/functional/common/utils.py View File

@@ -14,7 +14,6 @@

import collections
import contextlib
import json
import os
import random
import socket
@@ -28,6 +27,7 @@ from muranoclient import client as mclient
import muranoclient.common.exceptions as exceptions
from muranoclient.glance import client as glare_client
from oslo_log import log as logging
from oslo_serialization import jsonutils as json
from tempest import config
import yaml


Loading…
Cancel
Save