Fix argument order in assertEqual to (expect, obs)
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particular order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit Tests
fail. There are several Unit Test files where the arguments for assertEqual
have been swapped.
Reviewed: https:/ /review. openstack. org/239400 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=63d1b2a5904 8314ebb1a0dadf7 a4801f8d1af593
Committed: https:/
Submitter: Jenkins
Branch: master
commit 63d1b2a59048314 ebb1a0dadf7a480 1f8d1af593
Author: Bertrand Lallau <email address hidden>
Date: Mon Oct 26 11:50:24 2015 +0100
Fix argument order in assertEqual to (expect, obs)
assertEqual expects that the arguments provided to it should be
(expected, observed). If a particular order is kept as a convention,
then it helps to provide a cleaner message to the developer if Unit Tests
fail. There are several Unit Test files where the arguments for assertEqual
have been swapped.
Change-Id: I6fdedcde67f768 83257d35d1b812a b8a0e3e0733
Related-Bug: #1259292