def METHOD_NAME(schema, expected_keys):
    assert schema is not None, schema
    keys = list(schema.keys())
    keys.sort()
    expected_keys.sort()
    assert keys == expected_keys, '%s != %s' % (keys, expected_keys)