Browse Source

Merge "Fix invalid assertTrue which should be assertEqual"

changes/17/743117/2
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
d80f8ebc10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      keystone/tests/unit/test_shadow_users.py

+ 1
- 1
keystone/tests/unit/test_shadow_users.py View File

@@ -201,5 +201,5 @@ class TestUserWithFederatedUser(ShadowUsersTests):
user['federated'] = new_fed
user = self.identity_api.update_user(user['id'], user)
self.assertTrue('federated' in user)
self.assertTrue(len(user['federated']), 1)
self.assertEqual(len(user['federated']), 1)
self.assertEqual(user['federated'][0], new_fed[0])

Loading…
Cancel
Save