edx/edx-platform — pull request #2291 by symbolist (2014-01-24 12:54:14+00:00)
Title: Fixed flaky test for instructor command openended_post.

The submission time is serialized into json and sent to xqueue. Previously the whole json body argument to send_to_queue() was being matched. Sometimes the time calculated in the test would differ slightly from the time calculated in send_to_grader() and the test would fail. This fix tests individual fields of the body argument to mock_send_to_queue() instead.