Change in ovirt-engine-sdk[sdk_4.0]: Make sure that query parameters are always sorted

Ondra Machacek has submitted this change and it was merged. Change subject: Make sure that query parameters are always sorted ...................................................................... Make sure that query parameters are always sorted Currently when we format query parameters we depend on the internal sorting of the Python 'dict' type. This isn't convenient, specially for tets, as it isn't possible to predict what will be the query string generated. To avoid that this patch changes the SDK so that it sorts the query parameters by name before creating the query string. Change-Id: I19028dad41872633a82d8cfece9625e782b9d222 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit 8ea58337e7ed54711c2eca2d3540a7b0952ac686) --- M sdk/lib/ovirtsdk4/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/62957 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I19028dad41872633a82d8cfece9625e782b9d222 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: sdk_4.0 Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
omachace@redhat.com