'Vote two different resources'

@data({'event': 'recommender_upvote', 'new_votes': 1}, {'event': 'recommender_downvote', 'new_votes': (-1)})
def test_vote_different_resources(self, test_case):

    resource = {'id': self.resource_id, 'event': test_case['event']}
    self.call_event('handle_vote', resource)
    resource['id'] = self.resource_id_second
    self.check_event_response_by_key('handle_vote', resource, 'newVotes', test_case['new_votes'])
