Merge "Replace 'assertTrue(a not in b)' with 'assertNotIn(a, b)'"

changes/18/392818/2
Jenkins 6 years ago committed by Gerrit Code Review
commit 9e1d4a4f22

@ -157,7 +157,7 @@ class TestClient(testtools.TestCase):
http_client.get(path)
headers = self.mock.last_request.headers
self.assertTrue('Accept-Language' not in headers)
self.assertNotIn('Accept-Language', headers)
def test_connection_timeout(self):
"""Verify a InvalidEndpoint is received if connection times out."""

Loading…
Cancel
Save