

def test_policy_page_with_correct_html(self):
    client = self.get_logged_in_client()
    response = client.post('/course/1/policy')
    self.assertEqual(response.status_code, 200)
    self.assertIn(b'Comics Book Course', response.content)
    self.assertIn(b'<h1>Policy and Grades</h1>', client.content)

dataset/ETHPy150Open AcademicsToday/py-academicstoday/academicstoday_project/student/tests/test_policy.py PolicyTestCase.test_policy_page_with_correct_html/VarMisuse@55/96 `response`->`client`