summaryrefslogtreecommitdiff
path: root/openstackclient/tests/image
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-07-25 15:09:49 +0800
committerTang Chen <chen.tang@easystack.cn>2016-07-25 15:09:49 +0800
commitbcaa5c2e0ea7d2f6390aba1debbe026c1599a0b2 (patch)
tree7b565b20e549f5fd44fe29ecdd5e6ccf1d5e03e5 /openstackclient/tests/image
parenta8880e8b34c1a0609a7b1c8f54de1f0199969a1c (diff)
downloadpython-openstackclient-bcaa5c2e0ea7d2f6390aba1debbe026c1599a0b2.tar.gz
Use assertEqual() instead of assertDictEqual()
In unittest2, assertDictEqual() is implemented by using != operator to compare two dicts. So is assertEqual() in testtools. assertEqual() in testtools is able to handle dict, list, set and so on. So we just call assertEqual() to make the unit tests simpler. Change-Id: Ice343b2ce468acae39d2ad79f7121503e3627656
Diffstat (limited to 'openstackclient/tests/image')
0 files changed, 0 insertions, 0 deletions