Home
last modified time | relevance | path

Searched refs:assertDictContainsSubset (Results 1 – 12 of 12) sorted by relevance

/external/autotest/site_utils/
Ddeploy_server_local_unittest.py319 self.assertDictContainsSubset(
326 self.assertDictContainsSubset(
333 self.assertDictContainsSubset(
340 self.assertDictContainsSubset(
349 self.assertDictContainsSubset(
360 self.assertDictContainsSubset(
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py478 self.assertDictContainsSubset({}, {})
479 self.assertDictContainsSubset({}, {'a': 1})
480 self.assertDictContainsSubset({'a': 1}, {'a': 1})
481 self.assertDictContainsSubset({'a': 1}, {'a': 1, 'b': 2})
482 self.assertDictContainsSubset({'a': 1, 'b': 2}, {'a': 1, 'b': 2})
485 self.assertDictContainsSubset({1: "one"}, {})
488 self.assertDictContainsSubset({'a': 2}, {'a': 1})
491 self.assertDictContainsSubset({'c': 1}, {'a': 1})
494 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
497 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py673 self.assertDictContainsSubset({}, {})
674 self.assertDictContainsSubset({}, {'a': 1})
675 self.assertDictContainsSubset({'a': 1}, {'a': 1})
676 self.assertDictContainsSubset({'a': 1}, {'a': 1, 'b': 2})
677 self.assertDictContainsSubset({'a': 1, 'b': 2}, {'a': 1, 'b': 2})
680 self.assertDictContainsSubset({1: "one"}, {})
683 self.assertDictContainsSubset({'a': 2}, {'a': 1})
686 self.assertDictContainsSubset({'c': 1}, {'a': 1})
689 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
692 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
[all …]
/external/toolchain-utils/crosperf/
Dgenerate_report_unittest.py89 self.assertDictContainsSubset(sub_keyvals, original_keyvals)
/external/python/cpython2/Lib/unittest/
Dcase.py838 def assertDictContainsSubset(self, expected, actual, msg=None): member in TestCase
/external/python/cpython3/Lib/unittest/
Dcase.py1140 def assertDictContainsSubset(self, subset, dictionary, msg=None): member in TestCase
/external/python/cpython3/Doc/whatsnew/
D3.1.rst362 :func:`assertDictContainsSubset`, :func:`assertListEqual`,
D3.2.rst1821 * The :meth:`~unittest.TestCase.assertDictContainsSubset` method was deprecated
1824 ``TestCase().assertDictContainsSubset({'a':1, 'b':2}, {'a':1})`` would fail.
D2.7.rst1966 …using :meth:`~unittest.TestCase.assertEqual`. :meth:`~unittest.TestCase.assertDictContainsSubset`…
/external/python/cpython2/Doc/library/
Dunittest.rst999 | :meth:`assertDictContainsSubset(a, b) | all the key/value pairs | 2.7 |
1000 | <TestCase.assertDictContainsSubset>` | in *a* exist in *b* | |
1077 .. method:: assertDictContainsSubset(expected, actual, msg=None)
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1942 …using :meth:`~unittest.TestCase.assertEqual`. :meth:`~unittest.TestCase.assertDictContainsSubset`…
/external/python/cpython3/Misc/
DHISTORY10989 - Deprecated assertDictContainsSubset() in the unittest module.