keystone/keystone/tests/unit/resource
Takashi Kajinami d9cd6b7347 Replace deprecated assertDictContainsSubset
The method is deprecated since Python 3.2[1] and shows the following
DeprecationWarning.

/usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
assertDictContainsSubset is deprecated
  warnings.warn('assertDictContainsSubset is deprecated',

[1] https://docs.python.org/3/whatsnew/3.2.html#unittest

Closes-Bug: #1938103
Change-Id: I2372c6f1c748a5cb1c3fcf0566684f49bc5ef715
2021-09-01 08:13:48 +09:00
..
backends Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
config_backends Split out domain config driver and manager tests 2016-03-09 17:32:21 +00:00
__init__.py V2 operations create default domain on demand 2016-02-29 20:22:44 +00:00
test_backends.py Replace deprecated assertDictContainsSubset 2021-09-01 08:13:48 +09:00
test_core.py Switch from mock to unittest.mock use 2020-03-02 13:40:40 -06:00