#NEWLINE# def test_by_ids_some_objects_deleted_valid_filter( self ) : #NEWLINE# #INDENT# a = self . Artist . create ( ) #NEWLINE# a_id = a [ 'id' ] #NEWLINE# self . Artist . create ( ) #NEWLINE# a . delete ( ) #NEWLINE# assert ( len ( self . Artist . filter ( [ a_id ] ) ) == 0 )