test_api: change assign to generate_assignment, except test_deprecation
test_api: change assign to generate_assignment, except test_deprecation

jhamrick/nbgrader,jhamrick/nbgrader,jupyter/nbgrader,jhamrick/nbgrader,jupyter/nbgrader,jupyter/nbgrader,jupyter/nbgrader,jupyter/nbgrader,jhamrick/nbgrader