Update json module to jsonutils
oslo project provide jsonutils, and the others project use it now, this PS to update json moudule to oslo jsonutils for consistency. Change-Id: I51bcac143d3750aa991aeed6e95e011389f011d8
This commit is contained in:
parent
b53935acae
commit
35112fc7c7
|
@ -16,7 +16,6 @@
|
|||
import distutils.spawn
|
||||
import hashlib
|
||||
import itertools
|
||||
import json
|
||||
import os
|
||||
import random
|
||||
import shutil
|
||||
|
@ -26,6 +25,8 @@ import unittest
|
|||
|
||||
import paramiko
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from six.moves import range
|
||||
|
||||
FREEZERC = distutils.spawn.find_executable('freezer-agent')
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
@ -22,6 +21,8 @@ from time import mktime
|
|||
|
||||
from tempest import test
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.common import Temp_Tree
|
||||
|
||||
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from tempest.lib import decorators
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin import common
|
||||
from freezer_tempest_plugin.tests.freezer.agent import base
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# under the License.
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
|
@ -22,6 +21,8 @@ import time
|
|||
from tempest.lib.cli import base as cli_base
|
||||
from tempest.lib.cli import output_parser
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer.agent import base
|
||||
|
||||
JOB_TABLE_RESULT_COLUMN = 3
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
|
||||
import tempest
|
||||
from tempest.lib import decorators
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
import time
|
||||
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
fake_job = {
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
|
||||
from tempest.lib import decorators
|
||||
from tempest.lib import exceptions
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
|
||||
from tempest.lib import decorators
|
||||
|
||||
from oslo_serialization import jsonutils as json
|
||||
|
||||
from freezer_tempest_plugin.tests.freezer_api.api import base
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# process, which may cause wedges in the gate later.
|
||||
|
||||
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
oslo.serialization>=2.25.0 # Apache-2.0
|
||||
oslo.utils>=3.33.0 # Apache-2.0
|
||||
oslo.config>=5.2.0 # Apache-2.0
|
||||
paramiko>=2.0.0 # LGPLv2.1+
|
||||
|
|
Loading…
Reference in New Issue