Index: grit/format/policy_templates/writers/writer_unittest_common.py |
diff --git a/grit/format/policy_templates/writers/writer_unittest_common.py b/grit/format/policy_templates/writers/writer_unittest_common.py |
index 64457b7b2be04f8a03b2dd1004100b172b4e8225..50818ce9cb3a4f9c5377efc0fca823b08432bf01 100644 |
--- a/grit/format/policy_templates/writers/writer_unittest_common.py |
+++ b/grit/format/policy_templates/writers/writer_unittest_common.py |
@@ -61,6 +61,7 @@ class WriterUnittestCommon(unittest.TestCase): |
grd_string_io = StringIO.StringIO(grd_text) |
# Parse the grit tree and load the policies' JSON with a gatherer. |
grd = grd_reader.Parse(grd_string_io, dir=tmp_dir_name) |
+ grd.SetOutputContext('en', {}) |
grd.RunGatherers(recursive=True) |
# Remove the policies' JSON. |
os.unlink(json_file_path) |