Use glance.openstack.common.jsonutils to deal with JSON in test files

Bug #1257922 reported by Yanis Guenane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Yanis Guenane

Bug Description

A great number of test files still uses json.loads() instead of using the wrapper provided by glance.openstack.common.jsonutils

All tests that use json directly should make the switch to the corresponding wrapper in glance.common.openstack.jsonutils

Changed in glance:
assignee: nobody → Yanis Guenane (yanis-guenane)
Changed in glance:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/60718

Changed in glance:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/60718
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=16c3a33c0b8c37ea76d45a90d6b332cfda416b3d
Submitter: Jenkins
Branch: master

commit 16c3a33c0b8c37ea76d45a90d6b332cfda416b3d
Author: Yanis Guenane <email address hidden>
Date: Sun Dec 8 22:50:17 2013 +0000

    Migrate json to glance.openstack.common.jsonutils

    Every call to json.loads/json.dumps have been changed to
    jsonutils.loads/jsonutils.dumps respectively. Import json has been removed
    also replaced by import glance.openstack.common.jsonutils

    654d80b416dc5f413cb791aa838ec8688bf7da44 Create openstack.common.jsonutils

    Change-Id: I8ef580e5eb91526dfaef37050ce1f5c6d88d56b5
    Closes-bug: #1257922

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.