Merge pull request #929 from cpennington/remove-get-sample-state
Remove unused XModuleDescriptor.get_sample_state method
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user