Skip to content
Snippets Groups Projects
Commit e0ecf011 authored by Usman Khalid's avatar Usman Khalid
Browse files

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.
parent 58355f07
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment