Comment 5 for bug 1736005

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Here's what's breaking glanceclient tests:

(py27) [bug/1736005] devVM! cat has-friend.json
{ "name": "fred", "friend": "barney", "spouse": "betty" }
(py27) [bug/1736005] devVM! cat no-friend.json
{ "name": "fred", "spouse": "betty" }

(py27) [bug/1736005] devVM! jsondiff --version
jsondiff 1.20
(py27) [bug/1736005] devVM! jsondiff has-friend.json no-friend.json
[{"path": "/friend", "value": "barney", "op": "remove"}]

(py27) [bug/1736005] devVM! /usr/local/bin/jsondiff --version
jsondiff 1.16
(py27) [bug/1736005] devVM! /usr/local/bin/jsondiff has-friend.json no-friend.json
[{"path": "/friend", "op": "remove"}]
(py27) [bug/1736005] devVM!

There's an extraneous 'value' field included on the remove operation in 1.20 that the glanceclient tests don't like.