#NEWLINE# @ assert_logs ( NodeLog . POINTER_REMOVED , 'collection' ) #NEWLINE# def test_delete_public_node_pointer_authorized( self ) : #NEWLINE# #INDENT# node_count_before = len ( node_count_before . collection . nodes_pointer ) #NEWLINE# res = self . app . delete ( self . url_public , auth = self . user_one . auth ) #NEWLINE# self . collection . reload ( ) #NEWLINE# assert_equal ( res . status_code , 204 ) #NEWLINE# assert_equal ( ( node_count_before - 1 ) , len ( self . collection . nodes_pointer ) )