From 3a3452995831a4e5b117ec5105d019f4a077c195 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Tue, 6 Aug 2013 17:19:44 -0400 Subject: [PATCH] Need to call `.save` when modifying descriptor --- common/lib/xmodule/xmodule/tests/test_export.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/lib/xmodule/xmodule/tests/test_export.py b/common/lib/xmodule/xmodule/tests/test_export.py index fd3c635d82..91ef1bae57 100644 --- a/common/lib/xmodule/xmodule/tests/test_export.py +++ b/common/lib/xmodule/xmodule/tests/test_export.py @@ -40,6 +40,8 @@ def strip_filenames(descriptor): for d in descriptor.get_children(): strip_filenames(d) + descriptor.save() + class RoundTripTestCase(unittest.TestCase): ''' Check that our test courses roundtrip properly.