Merge "Switch from unittest2 compat methods to Python 3.x methods"

This commit is contained in:
Zuul 2020-08-12 22:21:12 +00:00 committed by Gerrit Code Review
commit 818fe4935c
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class TestAutoSchedule(testlib_api.SqlTestCase,
for net in hosted_bgp_speakers] for net in hosted_bgp_speakers]
expected_hosted_bgp_speakers = self.expected_hosted_bgp_speakers[ expected_hosted_bgp_speakers = self.expected_hosted_bgp_speakers[
'agent-%s' % host_index] 'agent-%s' % host_index]
self.assertItemsEqual(hosted_bs_ids, expected_hosted_bgp_speakers, self.assertCountEqual(hosted_bs_ids, expected_hosted_bgp_speakers,
msg) msg)
def test_auto_schedule(self): def test_auto_schedule(self):