def setUp(self): self.provider = ModelFactories.get_provider_test_object() self.fos = ModelFactories.get_field_of_study_test_object() self.data = { 'name': 'Non-official Bachelor of Arts', 'provider_id': self.provider.id, 'fos_id': self.fos.id }
def setUp(self): self.url = reverse('create-saqa-qualification') self.provider = ModelFactories.get_provider_test_object() self.fos = ModelFactories.get_field_of_study_test_object() self.saqa_qualification_name = 'Master Degree in Wine and Champagne' self.data = { 'saqa_qualification': { 'saqa_qualification_name': self.saqa_qualification_name, 'provider_id': self.provider.id, 'fos_id': self.fos.id } }
def setUp(self): self.field_of_study = ModelFactories.get_field_of_study_test_object()