edx/edx-platform — pull request #506 by ksteph (2013-07-25 21:47:07+00:00)
Title: Fix offline_gradecalc

Bug: Throws error when can't find a user on the request object for grading or can't find a session attribute.

Fix: Added to DummyRequest a user attribute with a value of the current student and a session attribute with a value of an empty dictionary.

@ichuang
@sefk