Index: tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py |
diff --git a/tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py |
index b964a25afcede1820e2c2b492244e859dd90387a..c645be0b94eb02a98fe441ae474a92c07a9d6f0c 100644 |
--- a/tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py |
+++ b/tools/grit/grit/format/policy_templates/writers/admx_writer_unittest.py |
@@ -264,14 +264,14 @@ class AdmxWriterTest(xml_writer_base_unittest.XmlWriterBaseTest): |
def testPlatform(self): |
# Test that the writer correctly chooses policies of platform Windows. |
self.assertTrue(self.writer.IsPolicySupported({ |
- 'annotations': { |
- 'platforms': ['win', 'zzz', 'aaa'] |
- } |
+ 'supported_on': [ |
+ {'platforms': ['win', 'zzz']}, {'platforms': ['aaa']} |
+ ] |
})) |
self.assertFalse(self.writer.IsPolicySupported({ |
- 'annotations': { |
- 'platforms': ['mac', 'linux', 'aaa'] |
- } |
+ 'supported_on': [ |
+ {'platforms': ['mac', 'linux']}, {'platforms': ['aaa']} |
+ ] |
})) |