#NEWLINE# def test_acknowledging_values( self ) : #NEWLINE# #INDENT# '\n        When we acknowledge settings, the values change.\n        ' #NEWLINE# s = h2 . settings . Settings ( client = True ) #NEWLINE# old_settings = dict ( s ) #NEWLINE# new_settings = { #NEWLINE# #INDENT# h2 . settings . HEADER_TABLE_SIZE : 4000 , #NEWLINE# h2 . settings . ENABLE_PUSH : 0 , #NEWLINE# h2 . settings . INITIAL_WINDOW_SIZE : 60 , #NEWLINE# h2 . settings . MAX_FRAME_SIZE : 16385 , #NEWLINE# #UNINDENT# } #NEWLINE# s . update ( new_settings ) #NEWLINE# assert ( dict ( s ) == old_settings ) #NEWLINE# s . acknowledge ( ) #NEWLINE# assert ( dict ( s ) == new_settings )