Merge "functional: Use assertItemsEqual for db_find outputs"

This commit is contained in:
Jenkins 2016-06-29 22:22:58 +00:00 committed by Gerrit Code Review
commit d3cd20151a

View File

@ -392,4 +392,4 @@ class OVSLibTestCase(base.BaseOVSLinuxTestCase):
self.assertEqual(tags_42, single_value)
len_0_list = self.ovs.ovsdb.db_find(
'Port', ('tag', '!=', []), columns=['tag']).execute()
self.assertEqual(tags_present, len_0_list)
self.assertItemsEqual(tags_present, len_0_list)