'Assert that the superset dict contains all of the key-value pairs found in the subset dict.'

def assert_dict_subset(self, superset, subset):

    for (key, expected_value) in subset.iteritems():
        self.assertEquals(superset[key], expected_value)
