Example #1
0
 def setUp(self):
     self.data = create_dummy_facility_data()
     self.data["summary_log"] = ContentSummaryLogFactory.create(
         user=self.data["learners_one_group"][0][1],
         content_id=uuid.uuid4().hex,
         channel_id=uuid.uuid4().hex,
     )
Example #2
0
 def setUpTestData(cls):
     cls.data = create_dummy_facility_data()
     cls.data["summary_log"] = ContentSummaryLogFactory.create(
         user=cls.data["learners_one_group"][0][1],
         content_id=uuid.uuid4().hex,
         channel_id=uuid.uuid4().hex,
     )
Example #3
0
 def setUp(self):
     facility_data = create_dummy_facility_data(classroom_count=1)
     self.admin = facility_data["facility_admin"]
     self.admin.set_password("password")
     self.admin.save()
     self.coach = facility_data["classroom_coaches"][0]
     self.coach.set_password("password")
     self.coach.save()
Example #4
0
 def setUp(self):
     clear_process_cache()
     create_dummy_facility_data(classroom_count=1)
Example #5
0
 def setUp(self):
     self.data = create_dummy_facility_data()
     self.data["session_log"] = UserSessionLogFactory.create(
         user=self.data["learners_one_group"][1][1])
Example #6
0
 def setUp(self):
     create_dummy_facility_data(classroom_count=1)
Example #7
0
 def setUpTestData(cls):
     cls.data = create_dummy_facility_data()
     cls.data["session_log"] = UserSessionLogFactory.create(
         user=cls.data["learners_one_group"][1][1])