#NEWLINE# def test_format_with_extra( self ) : #NEWLINE# #INDENT# fmt = pyfluent . logging . FluentFormatter ( ) #NEWLINE# d = { #NEWLINE# #INDENT# 'additional' : 'information' , #NEWLINE# #UNINDENT# } #NEWLINE# self . logger . info ( 'message for test' , extra = d ) #NEWLINE# data = fmt . format ( self . logger . get ( ) ) #NEWLINE# assert ( data [ 'name' ] == 'pytest.fluent' ) #NEWLINE# assert ( data [ 'message' ] == 'message for test' ) #NEWLINE# assert ( data [ 'additional' ] == 'information' )