Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Jan 16, 2025
1 parent c84be1f commit 63ac570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions xmodule/modulestore/tests/test_mongo_call_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def _import_course(self, content_store, modulestore):
# These two lines show the way this traversal *should* be done
# (if you'll eventually access all the fields and load all the definitions anyway).
(MIXED_SPLIT_MODULESTORE_BUILDER, None, False, True, 2),
(MIXED_SPLIT_MODULESTORE_BUILDER, None, True, True, 36),
(MIXED_SPLIT_MODULESTORE_BUILDER, 0, False, True, 36),
(MIXED_SPLIT_MODULESTORE_BUILDER, 0, True, True, 36),
(MIXED_SPLIT_MODULESTORE_BUILDER, None, True, True, 37),
(MIXED_SPLIT_MODULESTORE_BUILDER, 0, False, True, 37),
(MIXED_SPLIT_MODULESTORE_BUILDER, 0, True, True, 37),
(MIXED_SPLIT_MODULESTORE_BUILDER, None, False, False, 2),
(MIXED_SPLIT_MODULESTORE_BUILDER, None, True, False, 2),
(MIXED_SPLIT_MODULESTORE_BUILDER, 0, False, False, 2),
Expand Down
2 changes: 1 addition & 1 deletion xmodule/tests/test_word_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_xml_import_export_cycle(self):
exported_xml = f.read()

exported_xml_tree = etree.fromstring(exported_xml.encode('utf-8'))
etree.cleanup_namespaces(etree.fromstring(exported_xml.encode('utf-8')))
etree.cleanup_namespaces(exported_xml_tree)
exported_xml = etree.tostring(exported_xml_tree, encoding='unicode', pretty_print=True)

assert original_xml == exported_xml
Expand Down

0 comments on commit 63ac570

Please sign in to comment.