def test_get(self):
        group = self.create_review_group()
        profile = self.user.get_profile()
        profile.starred_groups.add(group)

        expected_url = self.base_url + get_review_group_item_url(group.name)

        self.api_get(
            get_watched_review_group_item_url(self.user.username, group.pk),
            expected_status=302,
            expected_headers={
                'Location': expected_url,
            })
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