]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix argument order in assertEqual: tests/test_service.py
authorSai Kiran <saikiran@techpatron.co.in>
Thu, 19 Feb 2015 17:42:54 +0000 (23:12 +0530)
committerSai Kiran <saikiran@techpatron.co.in>
Thu, 19 Feb 2015 17:43:47 +0000 (23:13 +0530)
commit98e405a40ffd91a70e27248500497a76fad34fbb
treebeca485ceda5d760b0e7dffd5e9f1ae804c64229
parent8bda008dd0594f006e21d2745b616a97d7119065
Fix argument order in assertEqual: tests/test_service.py

The assertEqual in cinder/tests/test_service.py is using
incorrect argument order (observed, expected), which causes the
error message about mismatch to be reversed if the test case fails.
Change it to (expected, observed).

Change-Id: I30fc2ff65e0ebdbff5fca24cbef024999ad0a64e
Partial-Bug: #1259292
cinder/tests/test_service.py