def METHOD_NAME(self):
    group = Group.objects.create(
        group_creator=self.test_user,
        group_name='test-name',
        is_searchable=True,
    )
    url = reverse('get_group', kwargs={'group_id': group.id})
    for is_authenticated in {True, False}:
        client = Client()
        if is_authenticated:
            client.force_login(self.test_user)
        num_succeeded, num_throttled = self.make_many_requests(
            client=client,
            method='get',
            params=[{
                'path': url,
            }]*12,
        )
        expect_succeeded = 10 if is_authenticated else 5
        self.assertEqual(num_succeeded, expect_succeeded)
        self.assertEqual(num_throttled, 12-expect_succeeded)