

def test_channel_index(self):
    self.login('unpopular')
    r = self.client.get('/channel')
    self.assertTemplateUsed(r, 'channel/templates/index.html')
    self.assertContains(r, 'Create a New Channel')
    self.assertContains(r, 'No channels')
    self.assertContains(r, '#popular')
    self.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py IndexTest.test_channel_index/original