

def dictContains(self, superset, subset):
    for (k, v) in subset.items():
        if (not (superset[k] == v)):
            return False
    return True

dataset/ETHPy150Open MongoEngine/flask-mongoengine/tests/test_json.py JSONAppTestCase.dictContains/original