Merge pull request #929 from cpennington/remove-get-sample-state

Remove unused XModuleDescriptor.get_sample_state method
This commit is contained in:
Calen Pennington
2013-09-17 07:01:30 -07:00

View File

@@ -619,14 +619,6 @@ class XModuleDescriptor(XModuleFields, HTMLSnippet, ResourceTemplates, XBlock):
raise NotImplementedError(
'Modules must implement export_to_xml to enable xml export')
# =============================== Testing ==================================
def get_sample_state(self):
"""
Return a list of tuples of instance_state, shared_state. Each tuple
defines a sample case for this module
"""
return [('{}', '{}')]
@property
def xblock_kvs(self):
"""