#NEWLINE# @ staticmethod #NEWLINE# def pytest_generate_tests( metafunc ) : #NEWLINE# #INDENT# body = { #NEWLINE# #INDENT# 'message' : 'message 1' , #NEWLINE# #UNINDENT# } #NEWLINE# handler_without_tag = pyfluent . logging . FluentHandler ( ) #NEWLINE# handler_with_tag = pyfluent . logging . FluentHandler ( tag = 'test' ) #NEWLINE# metafunc . parametrize ( ( 'handler' , 'expected' ) , [ ( handler_without_tag , ( 'info' , _RECORD_CREATED , body ) ) , ( handler_without_tag , ( 'test.info' , _RECORD_CREATED , body ) ) ] )