def _checkTestMethodName(self, modulename, node):
        """
        Check whether a test method has correct module name.

        @param modulename: a module name
        """
        if not modulename.startswith("test_"):
            self.add_message('W9301', node=node)
def _checkTestMethodName ( self , modulename , node ) : if not modulename . startswith ( "test_" ) : self . add_message ( 'W9301' , node = node )
Check whether a test method has correct module name.

        @param modulename: a module name