From 63e376daf88eef9d1c6af6d645268b765f17a571 Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Wed, 12 Jun 2013 10:48:04 -0400 Subject: [PATCH] Fix failing test bug. --- lms/djangoapps/courseware/tests/test_video_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tests/test_video_xml.py b/lms/djangoapps/courseware/tests/test_video_xml.py index c199a0aee1..35437348d9 100644 --- a/lms/djangoapps/courseware/tests/test_video_xml.py +++ b/lms/djangoapps/courseware/tests/test_video_xml.py @@ -49,7 +49,7 @@ class VideoFactory(object): "SampleProblem1"]) model_data = {'data': VideoFactory.sample_problem_xml_youtube} - descriptor = Mock(weight="1") + descriptor = Mock(weight="1", url_name="SampleProblem1") system = test_system() system.render_template = lambda template, context: context