diff --git a/xmodule/modulestore/tests/test_mongo_call_count.py b/xmodule/modulestore/tests/test_mongo_call_count.py index b98113420868..341c3b35e580 100644 --- a/xmodule/modulestore/tests/test_mongo_call_count.py +++ b/xmodule/modulestore/tests/test_mongo_call_count.py @@ -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), diff --git a/xmodule/tests/test_word_cloud.py b/xmodule/tests/test_word_cloud.py index 3b965284a97d..faebaf39f2b3 100644 --- a/xmodule/tests/test_word_cloud.py +++ b/xmodule/tests/test_word_cloud.py @@ -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