def METHOD_NAME(self):
    """
    Test that when logged in user and another user has created a lock
    suggestion for that elections ballots, the election is returned
    """
    create_lock_suggestion(ballot=self.ecclesall, user=self.logged_in_user)
    create_lock_suggestion(ballot=self.fulwood, user=self.other_user)
    result = self.view.get_random_election()
    self.assertEqual(result, self.sheffield)