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, )
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, )
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()
def setUp(self): clear_process_cache() create_dummy_facility_data(classroom_count=1)
def setUp(self): self.data = create_dummy_facility_data() self.data["session_log"] = UserSessionLogFactory.create( user=self.data["learners_one_group"][1][1])
def setUp(self): create_dummy_facility_data(classroom_count=1)
def setUpTestData(cls): cls.data = create_dummy_facility_data() cls.data["session_log"] = UserSessionLogFactory.create( user=cls.data["learners_one_group"][1][1])