Skip to content

Commit

Permalink
Port tests to Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed May 5, 2022
1 parent 0a99753 commit 3d14d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def test_initKeystoneFromJson(self):
keystone_required_keys = ["server", "tenant", "username", "password"]
config_keystone_keys = client.keystone.keys()

self.assertItemsEqual(config_keystone_keys, keystone_required_keys)
self.assertCountEqual(config_keystone_keys, keystone_required_keys)
self.assertEqual(client.project_id, test_keystone_config["project_id"])

remove_test_config("test_keystone_config.json")
Expand All @@ -233,7 +233,7 @@ def test_initKeystoneFromConstructor(self):
keystone_required_keys = ["server", "tenant", "username", "password"]
config_keystone_keys = client.keystone.keys()

self.assertItemsEqual(config_keystone_keys, keystone_required_keys)
self.assertCountEqual(config_keystone_keys, keystone_required_keys)

def test_ironTokenProvider(self):
client = iron_core.IronTokenProvider("iron-token")
Expand Down

0 comments on commit 3d14d4c

Please sign in to comment.