#NEWLINE# def test_consumer_decrement_eventually( self ) : #NEWLINE# #INDENT# mconsumer = Mock ( ) #NEWLINE# qos = QoS ( mconsumer . qos , 10 ) #NEWLINE# qos . decrement_eventually ( ) #NEWLINE# self . assertEqual ( qos . value , 9 ) #NEWLINE# qos . value = 0 #NEWLINE# qos . decrement_eventually ( ) #NEWLINE# self . assertEqual ( qos . value , 0 )