def METHOD_NAME():
    cell = create_grade_cell("", "code", "foo", "", 0)
    del cell.metadata.nbgrader["schema_version"]
    MetadataValidatorV1().upgrade_cell_metadata(cell)
    assert cell.metadata.nbgrader["schema_version"] == 1