Skip to content

Commit

Permalink
Merge "Switch from unittest2 compat methods to Python 3.x methods"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jul 8, 2020
2 parents 7b268d6 + 7a5e894 commit 695f5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/common/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class Two(utils.RandomNameGeneratorMixin):
name = "foo"
self.assertFalse(utils.name_matches_object(name, One, Two))
# ensure that exactly one of the two objects is checked
self.assertItemsEqual(
self.assertCountEqual(
One.name_matches_object.call_args_list
+ Two.name_matches_object.call_args_list,
[mock.call(name)])
Expand Down

0 comments on commit 695f5ec

Please sign in to comment.