'Assert that all the keys present in C{subset} are also present in
C{set} and that the corresponding values are equal.'

def assertDictSubset(self, set, subset):

    for (k, v) in subset.items():
        self.assertEqual(set[k], v)
