def testRemovedFollowerPermission(self):
    self._tester.RemoveFollowers(self._cookie, self._vp_id, [self._user2.user_id])

    # ------------------------------
    # Share from the viewpoint.
    # ------------------------------
    self.assertRaisesHttpError(403,
                               self._tester.ShareExisting,
                               self._cookie2,
                               self._vp_id,
                               [(self._ep_id, self._photo_ids)])

    # ------------------------------
    # Add followers to the viewpoint.
    # ------------------------------
    self.assertRaisesHttpError(403,
                               self._tester.AddFollowers,
                               self._cookie2,
                               self._vp_id,
                               [self._user.user_id])

    # ------------------------------
    # Remove followers from the viewpoint.
    # ------------------------------
    self.assertRaisesHttpError(403,
                               self._tester.RemoveFollowers,
                               self._cookie2,
                               self._vp_id,
                               [self._user.user_id])

    # ------------------------------
    # Post comment to the viewpoint.
    # ------------------------------
    self.assertRaisesHttpError(403,
                               self._tester.PostComment,
                               self._cookie2,
                               self._vp_id,
                               'Some comment')

    # ------------------------------
    # Save photos from the viewpoint.
    # ------------------------------
    self.assertRaisesHttpError(403,
                               self._tester.SavePhotos,
                               self._cookie2,
                               [(self._ep_id, self._photo_ids)])
Ensure that removed follower has lost all permissions on the viewpoint.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/remove_followers_test.py/RemoveFollowersTestCase.testRemovedFollowerPermission