Looks like we don't have integration tests for this line.  The place for these would be in `courseware/tests/test_module_render.py`, but the current state of that file is nightmarish.

`get_module_for_descriptor()` strikes me as a prime candidate to refactor for testability.  Maybe we could use this for the group testing discussion we talked about?