| Index: tools/grit/grit/format/policy_templates/writers/reg_writer_unittest.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/reg_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/reg_writer_unittest.py
|
| index 62d1ac7e3e1db18c3de54f08eaadeab5d05c75b2..58e82268c910c414531fb46202f12a0db44ccbdb 100644
|
| --- a/tools/grit/grit/format/policy_templates/writers/reg_writer_unittest.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/reg_writer_unittest.py
|
| @@ -44,7 +44,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "placeholders": [],'
|
| ' "messages": {}'
|
| '}')
|
| - output = self.GetOutput(grd, 'fr', {'_chromium': '1',}, 'reg', 'en')
|
| + output = self.GetOutput(grd, 'fr', {'_chromium': '1', }, 'reg', 'en')
|
| expected_output = 'Windows Registry Editor Version 5.00'
|
| self.CompareOutputs(output, expected_output)
|
|
|
| @@ -59,9 +59,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": True'
|
| - ' }'
|
| + ' "example_value": True'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -86,9 +84,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "hello, world! \\\" \\\\"'
|
| - ' }'
|
| + ' "example_value": "hello, world! \\\" \\\\"'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -113,9 +109,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": 26'
|
| - ' }'
|
| + ' "example_value": 26'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -144,9 +138,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' {"name": "ProxyServerAutoDetect", "value": 1, "caption": ""},'
|
| ' ],'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": 1'
|
| - ' }'
|
| + ' "example_value": 1'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -177,9 +169,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": ""},'
|
| ' ],'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "two"'
|
| - ' }'
|
| + ' "example_value": "two"'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -204,9 +194,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["foo", "bar"]'
|
| - ' }'
|
| + ' "example_value": ["foo", "bar"]'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -232,9 +220,7 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.mac:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["a"]'
|
| - ' }'
|
| + ' "example_value": ["a"]'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -261,18 +247,14 @@ class RegWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["a", "b"]'
|
| - ' }'
|
| + ' "example_value": ["a", "b"]'
|
| ' },{'
|
| ' "name": "Policy2",'
|
| ' "type": "string",'
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.win:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "c"'
|
| - ' }'
|
| + ' "example_value": "c"'
|
| ' }],'
|
| ' },'
|
| ' ],'
|
|
|