#NEWLINE# def test_event_repr( self ) : #NEWLINE# #INDENT# t = time . time ( ) #NEWLINE# uuid = '1234' #NEWLINE# lifecycle = event . EVENT_LIFECYCLE_RESUMED #NEWLINE# e = event . Event ( t ) #NEWLINE# self . assertEqual ( str ( e ) , ( '<Event: %s>' % t ) ) #NEWLINE# e = event . InstanceEvent ( uuid , timestamp = t ) #NEWLINE# self . assertEqual ( str ( e ) , ( '<InstanceEvent: %s, %s>' % ( self , uuid ) ) ) #NEWLINE# e = event . LifecycleEvent ( uuid , lifecycle , timestamp = t ) #NEWLINE# self . assertEqual ( str ( e ) , ( '<LifecycleEvent: %s, %s => Resumed>' % ( t , uuid ) ) )