Merge pull request #3809 from cpennington/ok-dead-code
Remove dead code
This commit is contained in:
@@ -37,29 +37,6 @@ SOURCE_XML = """
|
||||
"""
|
||||
|
||||
|
||||
class VideoFactory(object):
|
||||
"""A helper class to create video modules with various parameters
|
||||
for testing.
|
||||
"""
|
||||
|
||||
# tag that uses youtube videos
|
||||
sample_problem_xml_youtube = SOURCE_XML
|
||||
|
||||
@staticmethod
|
||||
def create():
|
||||
"""Method return Video Xmodule instance."""
|
||||
location = Location(["i4x", "edX", "video", "default",
|
||||
"SampleProblem1"])
|
||||
field_data = {'data': VideoFactory.sample_problem_xml_youtube,
|
||||
'location': location}
|
||||
|
||||
system = get_test_descriptor_system()
|
||||
|
||||
descriptor = VideoDescriptor(system, DictFieldData(field_data), ScopeIds(None, None, None, None))
|
||||
descriptor.xmodule_runtime = get_test_system()
|
||||
return descriptor
|
||||
|
||||
|
||||
class VideoModuleLogicTest(LogicTest):
|
||||
"""Tests for logic of Video Xmodule."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user