#NEWLINE# def test_failed_connect_and_then_successful_connect( t = Time , logic = DEFAULT_LOGIC , nid = NID ( 'kaamel:123' ) ) : #NEWLINE# #INDENT# ( t , logic ) = test_failed_connect ( t , logic , nid = nid ) #NEWLINE# ( t , logic ) = test_successful_connect ( ( lambda : t ) , ( lambda : logic ) , nid = nid )