Exemple #1
0
 def test_is_instructor_managed_topic(self):
     self.assertTrue(
         teams_api.is_instructor_managed_topic(COURSE_KEY1, TOPIC1))
     self.assertFalse(
         teams_api.is_instructor_managed_topic(COURSE_KEY2, TOPIC2))
     self.assertTrue(
         teams_api.is_instructor_managed_topic(COURSE_KEY2, TOPIC3))
Exemple #2
0
 def test_is_instructor_managed_topic(self):
     assert teams_api.is_instructor_managed_topic(COURSE_KEY1, TOPIC1)
     assert not teams_api.is_instructor_managed_topic(COURSE_KEY2, TOPIC2)
     assert teams_api.is_instructor_managed_topic(COURSE_KEY2, TOPIC3)