#NEWLINE# def test_status( self ) : #NEWLINE# #INDENT# self . assertTrue ( self . kt_handle . clear ( ) ) #NEWLINE# status = None #NEWLINE# status = self . kt_handle . status ( ) #NEWLINE# assert ( status is not None ) #NEWLINE# self . assertTrue ( status [ 'count' ] , 0 ) #NEWLINE# self . kt_handle . set ( 'red' , 'apple' ) #NEWLINE# self . kt_handle . set ( 'yellow' , 'banana' ) #NEWLINE# self . kt_handle . set ( 'pink' , 'peach' ) #NEWLINE# self . assertTrue ( status [ 'count' ] , 3 )