Пример #1
0
 def setUp(self):
     self.offering = create_test_offering()
     self.instructor = Member.objects.get(offering=self.offering, role='INST')
     call_command('clear_index', interactive=False, verbosity=0)
     self._update_index()
Пример #2
0
 def setUp(self):
     self.offering = create_test_offering()
     self.instructor = Member.objects.get(offering=self.offering, role='INST')
     call_command('clear_index', interactive=False, verbosity=0)
     self._update_index()
Пример #3
0
 def setUp(self):
     self.offering = create_test_offering()
     self.instructor = Member.objects.get(offering=self.offering, role='INST').person
Пример #4
0
 def setUp(self):
     self.offering = create_test_offering()
     self.instructor = Member.objects.get(offering=self.offering, role='INST').person