

def test_popular_channel_logged_in(self):
    l = profile.label('channel_get_logged_in')
    r = self.login_and_get('popular', '/channel/popular')
    l.stop()
    self.assertContains(r, 'Posts in #popular')
    self.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py SmokeTest.test_popular_channel_logged_in/original