def setUp(self): self.qualification = ModelFactories.get_qualification_test_object() self.occupation = ModelFactories.get_occupation_test_object()
def test_occupation_description(self): new_occupation = ModelFactories.get_occupation_test_object() self.assertEqual(new_occupation.__str__(), 'Object Test Name')