117b61976f
We have a bunch of assertions like self.assertTrue(resp.status in (200, 204)) Sometimes we get smart about failure messages and have something like self.assertTrue(resp.status in (200, 204), resp.status) so we can see what the status was when it failed. Since we don't have to support Python 2.6 any more, we can use assertIn/assertNotIn and get nice failure messages for free. Change-Id: I2d46c9969d41207a89e01017b4c2bc533c3d744f |
||
---|---|---|
.. | ||
__init__.py | ||
swift_test_client.py | ||
test_account.py | ||
test_container.py | ||
test_object.py | ||
tests.py |