unittest.FunctionTestCase.assertDictContainsSubset

FunctionTestCase.assertDictContainsSubset(expected, actual, msg=None)

Checks whether actual is a superset of expected.