'Asserts that a dictionary is a proper subset of another.'

def assert_dict_is_proper_subset(self, superset, subset):

    self.assertTrue(all((((k in superset) and (superset[k] == v)) for (k, v) in subset.items())))
