neutron/neutron/tests/unit/db
gugug ada26647ec Replace assertItemsEqual with assertCountEqual
assertItemsEqual was removed from Python's unittest.TestCase in
Python 3.3 [1][2]. We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.

NOTE(dmllr): added hacking check

[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277

Change-Id: I7c20fec08e5dc9f67b34100c925ea6724bbd25f0
(cherry picked from commit 62729d4e74)
2021-08-24 10:00:56 +00:00
..
metering Add source_ip_prefix and destination_ip_prefix to metering label rules 2020-09-29 09:06:03 -03:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test__utils.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_agents_db.py Set process name for agents 2020-07-01 12:28:29 +02:00
test_agentschedulers_db.py DHCP notification optimization 2021-04-17 14:15:16 +00:00
test_allowedaddresspairs_db.py Switch to new engine facade in test_allowedaddresspairs_db module 2020-03-20 02:18:04 +01:00
test_db_base_plugin_common.py Replace to_dict() calls with a function decorator 2015-08-03 11:42:25 +03:00
test_db_base_plugin_v2.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_dvr_mac_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_extraroute_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_ipam_backend_mixin.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_ipam_pluggable_backend.py [OVN] Allow IP allocation with different segments for OVN service ports 2020-07-22 07:38:49 +00:00
test_l3_db.py Finish the new DB engine facade migration 2020-11-24 09:20:35 +00:00
test_l3_dvr_db.py Replace assertItemsEqual with assertCountEqual 2021-08-24 10:00:56 +00:00
test_l3_hamode_db.py Switch to new engine facade for l3_hamode_db leftovers 2020-12-10 10:07:35 +00:00
test_migration.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovn_hash_ring_db.py Match created_at and updated_at timestamp in TestHashRing 2020-10-08 14:45:51 +00:00
test_ovn_revision_numbers_db.py Merge "Support remote address group in SG rules" 2020-11-28 11:26:39 +00:00
test_portsecurity_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_portsecurity_db_common.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_provisioning_blocks.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_rbac_db_mixin.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_securitygroups_db.py Don't try to create default SG when security groups are disabled 2021-02-05 16:07:39 +01:00
test_segments_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00