| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assessment | ||
| fileupload | ||
| locale | ||
| management | ||
| templates/openassessmentblock | ||
| tests | ||
| workflow | ||
| xblock | ||
| __init__.py | ||
| data.py | ||
| test_utils.py |
Previously, api.update_from_assessments() would call model.
update_from_assessments(), then api._serialized_with_details(reqs), which
would duplicate the update work we *just* did as part of getting the
status. Now, update() and get_details() are totally seperate operations, and
_serialized_with_details() is a read-only method that does not need to have
requirements passed in.
I've also standardized student_training and peer, the two assessment types that
do *not* auto-complete on None requirements, to return False if None, and error
out if passed {}. This is to allow staff_assess to pass None to indicate
"Update thyself, if you don't depend on requirements" to the other step types.
Also adding test_requirements_changed(), to confirm that workflows are updated
when requirements change, even though thoe requirements are no longer explicitly
passed to the getter.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assessment | Loading commit data... | |
| fileupload | Loading commit data... | |
| locale | Loading commit data... | |
| management | Loading commit data... | |
| templates/openassessmentblock | Loading commit data... | |
| tests | Loading commit data... | |
| workflow | Loading commit data... | |
| xblock | Loading commit data... | |
| __init__.py | Loading commit data... | |
| data.py | Loading commit data... | |
| test_utils.py | Loading commit data... |