'get_exercises_from_topics()'

@unittest.skipIf(settings.RUNNING_IN_CI, 'benjaoming:    Disabling    for    now,    cannot    reproduce    failures    locally,    but    it    fails    consistently    on    Circle.')
def test_exercises_from_topics(self):

    expected = [e.id for e in self.content_exercises[0:4]]
    actual = get_exercises_from_topics([self.content_subsubtopics[0].id])
    actual = map((lambda s: str(s)), actual)
    expected = set(expected)
    actual = set(sorted(actual))
    self.assertEqual(expected, actual)
