#NEWLINE# def test_from_dict( self ) : #NEWLINE# #INDENT# obj = self . assert_warn ( UserWarning , obj . User . from_dict , None ) #NEWLINE# self . assertEqual ( obj . keys ( ) , self . User ( ) . keys ( ) )