refactor: remove deprecated field_data usages by InMemorySystem

This commit is contained in:
0x29a
2022-07-30 19:47:38 +02:00
parent 4f5279d214
commit f1004fc34a

View File

@@ -38,7 +38,7 @@ class InMemorySystem(XMLParsingSystem, MakoDescriptorSystem): # pylint: disable
mixins=xml_import_data.xblock_mixins,
select=xml_import_data.xblock_select,
render_template=lambda template, context: pprint.pformat((template, context)),
field_data=KvsFieldData(DictKeyValueStore()),
services={'field-data': KvsFieldData(DictKeyValueStore())},
)
def process_xml(self, xml): # pylint: disable=method-hidden