diff test/test_util.py @ 195:e3ab8aca2b08

Make filesupport.py more PEP8 conformant. Rename method checkFileContents to check_file_contents. Update the callers.
author Bernhard Herzog <bh@intevation.de>
date Thu, 31 Jul 2008 10:36:17 +0000
parents e1c7cd896310
children bfd1c6a155fa
line wrap: on
line diff
--- a/test/test_util.py	Thu Jul 31 10:17:56 2008 +0000
+++ b/test/test_util.py	Thu Jul 31 10:36:17 2008 +0000
@@ -21,7 +21,7 @@
         filename = self.create_temp_file("orig", orig_contents)
         changed = replace_in_file(filename, pattern, replacement)
         self.assertEquals(changed, orig_contents != expected_contents)
-        self.checkFileContents(filename, expected_contents)
+        self.check_file_contents(filename, expected_contents)
 
     def test_version_replacement(self):
         template = ("project foo version 1.0-svn%(rev)d"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)