'Test that team_count is included for each topic'

def test_team_count(self):

    response = self.get_topics_list(data={'course_id': self.test_course_1.id})
    for topic in response['results']:
        self.assertIn('team_count', topic)
        if (topic['id'] == u'topic_0'):
            self.assertEqual(topic['team_count'], 1)
        else:
            self.assertEqual(topic['team_count'], 0)
