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/340654 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=3438c2b8ad6 7543638713dec1d 307e558ce57980
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3438c2b8ad67543 638713dec1d307e 558ce57980
Author: weiweigu <email address hidden>
Date: Tue Jul 12 12:27:32 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
Closes-Bug: #1259292
Change-Id: I03c414a763b2d5 1210aaec3624059 12f29850e36