#NEWLINE# def test_deactivate( self ) : #NEWLINE# #INDENT# ( world , manager ) = self . test_activate ( ) #NEWLINE# ( sys1 , sys2 ) = world . systems #NEWLINE# world . deactivate ( manager ) #NEWLINE# self . assertFalse ( world . active ) #NEWLINE# self . assertFalse ( ( ( world . tick , None ) in world . master_clock . scheduled ) ) #NEWLINE# self . assertFalse ( ( sys1 in manager . handlers ) ) #NEWLINE# self . assertFalse ( ( sys2 in manager . handlers ) )