Browse Source

[2157] rename a method per name convention

Yoshitaka Aharen 12 years ago
parent
commit
bd6e48f80c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/auth/tests/statisticsitems.py

+ 2 - 2
src/bin/auth/tests/statisticsitems.py

@@ -62,7 +62,7 @@ Example:
         </variablelist>
     </refsect1>
 """
-def testXMLfile(xmlfilepath):
+def test_xml_file(xmlfilepath):
     xmltree = ElementTree.parse(xmlfilepath)
     root = xmltree.getroot()
     # find <refsect1> which has <title> of 'STATISTICS DATA'
@@ -88,4 +88,4 @@ def testXMLfile(xmlfilepath):
 
 if __name__ == "__main__":
     xmlfilepath = sys.argv[1]
-    testXMLfile(xmlfilepath)
+    test_xml_file(xmlfilepath)