diff options
author | Ji-Wei <ji.wei3@zte.com.cn> | 2016-09-09 17:30:17 +0800 |
---|---|---|
committer | Ji-Wei <ji.wei3@zte.com.cn> | 2016-09-09 17:30:46 +0800 |
commit | 5eb0f3debc320340965460c04a1d6ca4f9c423a3 (patch) | |
tree | 1a95b354b18ce85acc6944990f777e0baacf39a9 /tests/functional/test_swiftclient.py | |
parent | 2737fae96eb20979451ba3932ddb54b0905d92b3 (diff) | |
download | python-swiftclient-5eb0f3debc320340965460c04a1d6ca4f9c423a3.tar.gz |
Fix order of arguments in assertIs
Some tests used incorrect order assertIs(observed, expected).
The correct order expected by testtools is
assertIs(expected, observed, message='')
Assert that expected is observed.
Parameters:
expected The expected value.
observed The observed value.
message An optional message describing the error.
https://docs.python.org/2/library/unittest.html
Change-Id: I5f406336b7804c13ca042dd0c6b30645a711c5f2
Diffstat (limited to 'tests/functional/test_swiftclient.py')
0 files changed, 0 insertions, 0 deletions