commit | 37503ddc5986614f82239672391fddfde0542261 | [log] [tgz] |
---|---|---|
author | melissaml <ma.lei@99cloud.net> | Wed Sep 14 13:10:49 2016 +0800 |
committer | melissaml <ma.lei@99cloud.net> | Wed Sep 14 13:13:47 2016 +0800 |
tree | 9afabb974b7acef15f6a9a012cfa785a4df275a0 | |
parent | 78b4d29fb51888ab2600818342af1dbcaedd61ab [diff] [blame] |
Modify use of assertTrue(A in B) Developers should use assertIn(A, B) instead of assertTrue(A in B ). TrivialFix Change-Id: I54158400476fdd5cfd40653408b33fb0f97b60c0
diff --git a/tempest/api/identity/admin/v2/test_users.py b/tempest/api/identity/admin/v2/test_users.py index 8e63498..4a4b51a 100644 --- a/tempest/api/identity/admin/v2/test_users.py +++ b/tempest/api/identity/admin/v2/test_users.py
@@ -234,4 +234,4 @@ # Validate the updated password through getting a token. body = self.token_client.auth(user['name'], new_pass, tenant['name']) - self.assertTrue('id' in body['token']) + self.assertIn('id', body['token'])