Merge "Replace assertItemsEqual with assertCountEqual"

This commit is contained in:
Zuul 2020-06-05 04:45:24 +00:00 committed by Gerrit Code Review
commit 94314329e9
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class FedKerbLoadingTests(test_utils.TestCase):
'mutual-auth', 'mutual-auth',
] ]
self.assertItemsEqual(allowed_opts, opts) self.assertCountEqual(allowed_opts, opts)
def create(self, **kwargs): def create(self, **kwargs):
loader = loading.get_plugin_loader('v3fedkerb') loader = loading.get_plugin_loader('v3fedkerb')

View File

@ -32,4 +32,4 @@ class KerberosLoadingTests(test_utils.TestCase):
'mutual-auth', 'mutual-auth',
] ]
self.assertItemsEqual(allowed_opts, opts) self.assertCountEqual(allowed_opts, opts)