Reviewed: https://review.openstack.org/73784 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=8d4312a2c9b020cec1241fde0b9a1fb29af5e6f6 Submitter: Jenkins Branch: master
commit 8d4312a2c9b020cec1241fde0b9a1fb29af5e6f6 Author: Jia Dong <email address hidden> Date: Sat Feb 15 14:24:57 2014 +0800
Modify assert statement when comparing with None
Replace assertEqual(None, *) with assertIsNone in glance's tests to have more clear messages in case of failure.
Also, replace assertTrue(* is not None) with assertIsNotNone for the same reason.
Change-Id: If41a71bd750057c7136b03bef94c04517092134c Closes-Bug: #1280522
Reviewed: https:/ /review. openstack. org/73784 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=8d4312a2c9b 020cec1241fde0b 9a1fb29af5e6f6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8d4312a2c9b020c ec1241fde0b9a1f b29af5e6f6
Author: Jia Dong <email address hidden>
Date: Sat Feb 15 14:24:57 2014 +0800
Modify assert statement when comparing with None
Replace assertEqual(None, *) with assertIsNone in glance's
tests to have more clear messages in case of failure.
Also, replace assertTrue(* is not None) with assertIsNotNone
for the same reason.
Change-Id: If41a71bd750057 c7136b03bef94c0 4517092134c
Closes-Bug: #1280522