Re: [Qemu-block] [PATCH v5 12/13] iotests: Add assert_json_filename_equal() method

2016-10-26 Thread Max Reitz
On 26.10.2016 12:41, Kevin Wolf wrote: > Am 25.10.2016 um 15:11 hat Max Reitz geschrieben: >> Since the order of keys in JSON filenames is not necessarily fixed, they >> should not be compared to fixed strings. This method takes a Python dict >> as a reference, parses a given JSON filename and

Re: [Qemu-block] [PATCH v5 12/13] iotests: Add assert_json_filename_equal() method

2016-10-26 Thread Kevin Wolf
Am 25.10.2016 um 15:11 hat Max Reitz geschrieben: > Since the order of keys in JSON filenames is not necessarily fixed, they > should not be compared to fixed strings. This method takes a Python dict > as a reference, parses a given JSON filename and compares both. > > Signed-off-by: Max Reitz

[Qemu-block] [PATCH v5 12/13] iotests: Add assert_json_filename_equal() method

2016-10-25 Thread Max Reitz
Since the order of keys in JSON filenames is not necessarily fixed, they should not be compared to fixed strings. This method takes a Python dict as a reference, parses a given JSON filename and compares both. Signed-off-by: Max Reitz --- tests/qemu-iotests/iotests.py | 20