def METHOD_NAME(self):
    self.user.groups.add(self.allowed_group)
    self.client.login(username=self.user.username, password='test@123')
    response = self.client.get(self.group_restricted_article.url)
    self.assertEqual(response.status_code, status.HTTP_200_OK)