Fix argument order for assertEqual to (expected, observed)
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particluar order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit
Tests fail. The following patch fixes this issue.
Reviewed: https:/ /review. openstack. org/329750 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=a177ec0451e d64836694ba51ad ca06fe38d85e72
Committed: https:/
Submitter: Jenkins
Branch: master
commit a177ec0451ed648 36694ba51adca06 fe38d85e72
Author: yuyafei <email address hidden>
Date: Wed Jun 15 12:00:04 2016 +0800
Fix argument order for assertEqual to (expected, observed)
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particluar order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit
Tests fail. The following patch fixes this issue.
TrivialFix
Change-Id: Ib0c04bbb705477 6e8f32bb8342521 98c29232e74
Closes-Bug: #1259292