@add_fixtures(['test_site'])
    def test_get_with_site_no_access(self):
        group = self.create_review_group(with_local_site=True)
        profile = self.user.get_profile()
        profile.starred_groups.add(group)

        rsp = self.api_get(
            get_watched_review_group_item_url(self.user.username, group.pk,
                                              self.local_site_name),
            expected_status=403)
        self.assertEqual(rsp['stat'], 'fail')
        self.assertEqual(rsp['err']['code'], PERMISSION_DENIED.code)
Testing the GET users/<username>/watched/review-groups/<id>/ API
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_watched_review_group.py/ResourceItemTests.test_get_with_site_no_access