From d2e4b1ed7fb9089396b1f1621a1d80ee67bd5e67 Mon Sep 17 00:00:00 2001 From: "Kyle D. McCormick" Date: Tue, 13 Feb 2024 11:51:16 -0500 Subject: [PATCH] chore: remove reference to deprecated HierarchyMixin This has been a no-op for a long time anyway, since HierarchyMixin has been explicitly mixed into XBlock for as long as I remember. Ref: https://github.com/openedx/XBlock/issues/714 --- xmodule/tests/xml/factories.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xmodule/tests/xml/factories.py b/xmodule/tests/xml/factories.py index 0c183ebd72a4..23a57898b6dc 100644 --- a/xmodule/tests/xml/factories.py +++ b/xmodule/tests/xml/factories.py @@ -9,7 +9,6 @@ from factory import Factory, Sequence, lazy_attribute, post_generation from fs.osfs import OSFS from lxml import etree -from xblock.mixins import HierarchyMixin from xmodule.modulestore.inheritance import InheritanceMixin from xmodule.x_module import XModuleMixin @@ -70,7 +69,7 @@ class Meta: model = XmlImportData filesystem = OSFS(mkdtemp()) - xblock_mixins = (InheritanceMixin, XModuleMixin, HierarchyMixin) + xblock_mixins = (InheritanceMixin, XModuleMixin) url_name = Sequence(str) attribs = {} policy = {}