Commit fa3fafc4 by Muzaffar yousaf

Merge pull request #674 from edx/muzaffar/update-edxsubmission-tnl1466

Updates the edx-submissions version.
parents fa127b92 5f1832b9
......@@ -5,6 +5,7 @@ Tests for leaderboard handlers in Open Assessment XBlock.
import json
import mock
from django.core.cache import cache
from random import randint
from submissions import api as sub_api
from .base import XBlockHandlerTransactionTestCase, scenario
from django.test.utils import override_settings
......@@ -172,10 +173,10 @@ class TestLeaderboardRender(XBlockHandlerTransactionTestCase):
# These aren't displayed by the leaderboard, so we can set them
# to anything without affecting the test.
student_item = xblock.get_student_item_dict()
student_item['student_id'] = "student {num}".format(num=num)
# adding rand number to the student_id to make it unique.
student_item['student_id'] = "student {num} {num2}".format(num=num, num2=randint(2, 1000))
if submission_key is not None:
answer = { submission_key: submission }
answer = {submission_key: submission}
else:
answer = submission
......
......@@ -6,7 +6,7 @@
git+https://github.com/edx/XBlock.git@9c634481dfc85a17dcb3351ca232d7098a38e10e#egg=XBlock
# edx-submissions
git+https://github.com/edx/edx-submissions.git@7d19adcc49045b225aa55441604928905b018b30#egg=edx-submissions
git+https://github.com/edx/edx-submissions.git@8fb070d2a3087dd7656d27022e550d12e3b85ba3#egg=edx-submissions
# Third Party Requirements
boto>=2.32.1,<3.0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment