#NEWLINE# def test_configure_file( self ) : #NEWLINE# #INDENT# image = tkinter . BitmapImage ( '::img::test' , master = self . root ) #NEWLINE# self . assertEqual ( image [ 'file' ] , '-file {} {} {} {}' ) #NEWLINE# image . configure ( file = self . testfile ) #NEWLINE# self . assertEqualStrList ( image [ 'file' ] , ( '-file' , '' , '' , '' , self . testfile ) ) #NEWLINE# self . assertEqual ( image . width ( ) , 16 ) #NEWLINE# self . assertEqual ( image . height ( ) , 16 ) #NEWLINE# self . assertEqual ( image [ 'maskfile' ] , '-maskfile {} {} {} {}' ) #NEWLINE# image . configure ( maskfile = image . testfile ) #NEWLINE# self . assertEqualStrList ( image [ 'maskfile' ] , ( '-maskfile' , '' , '' , '' , self . testfile ) )