

def test_get_template_name_basic(self):
    response = self.client.get(self.post.get_absolute_url())
    self.assertTrue(response)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.template_name, ['containers/test-channel/a-simple-title/detail.html', 'containers/test-channel/post_detail.html', 'containers/post_detail.html', 'containers/test-channel/detail.html', 'containers/detail.html'])

dataset/ETHPy150Open opps/opps/tests/views/test_generic_detail.py TemplateNameTest.test_get_template_name_basic/original