Mercurial > treepkg
diff test/filesupport.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 |
line wrap: on
line diff
--- a/test/filesupport.py Thu Jul 31 10:17:56 2008 +0000 +++ b/test/filesupport.py Thu Jul 31 10:36:17 2008 +0000 @@ -115,6 +115,6 @@ writefile(os.path.join(directory, name), contents, permissions) return directory - def checkFileContents(self, filename, contents): + def check_file_contents(self, filename, contents): """check the contents of a file""" self.assertEquals(open(filename).read(), contents)