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/239356 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=6b97b9a7cd5 831de84ac618fd8 43403bb8ad1479
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6b97b9a7cd5831d e84ac618fd84340 3bb8ad1479
Author: Bertrand Lallau <email address hidden>
Date: Mon Oct 26 08:15:16 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.
Closes-Bug: #1259292 aba9baddbdb7a54 d54497f6a6d
Change-Id: I17930c8ba8168b