Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py

Issue 7155025: Fix string-enums in ADMX templates (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: " Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py
diff --git a/tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py b/tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py
index 125856e2d16d3dd068c02a1241b5105153081058..91ff6ed4e369580467b5f0a04b6004b3bc6c63b4 100644
--- a/tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py
+++ b/tools/grit/grit/format/policy_templates/writers/xml_writer_base_unittest.py
@@ -1,5 +1,5 @@
#!/usr/bin/python2.4
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -27,7 +27,7 @@ class XmlWriterBaseTest(unittest.TestCase):
Return: XML of the chrildren of the parent node.
'''
return ''.join(
- child.toprettyxml(indent = ' ') for child in parent.childNodes)
+ child.toprettyxml(indent=' ') for child in parent.childNodes)
markusheintz_ 2011/06/16 14:39:54 Should this be toprettyxml or ToPrettyXMl?
gfeher 2011/06/17 08:53:58 All the tests should be refactored if I would swit
def AssertXMLEquals(self, output, expected_output):
'''Asserts if the passed XML arguements are equal.
« no previous file with comments | « tools/grit/grit/format/policy_templates/writers/xml_formatted_writer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698