old_contents: from models.people import Person, Fellow, Staff
  from unittest import TestCase
  
  
  class PersonTestCases(TestCase):
      """Tests the functionality of the person parent class
      """
      def setUp(self):
          """Passes an instance of class Person to all the methods in this class
          """
          self.person = Person('Oluwafemi', 'Sule', 'Fellow')
  
      def test_full_name_is_correct(self):
          self.assertEqual(self.person.fname + ' ' + self.person.lname, 'Oluwafemi Sule')
  
  
  class FellowTestCases(TestCase):
      def setUp(self):
          self.fellow = Fellow('Nadia', 'Alexis', 'Fellow')
  
      def test_if_inherits_from_Person(self):
          self.assertTrue(issubclass(Fellow, Person))
  
      def test_person_name_is_correct(self):
          self.assertEqual(self.fellow.fname + ' ' + self.fellow.lname, 'Nadia Alexis')
  
      def test_fellow_id_generation(self):
          self.assertEqual(self.fellow.id, 'fel24')
  
  
  class StaffTestCases(TestCase):
      def setUp(self):
          self.staff = Staff('Nadia', 'Alexis', 'Staff')
  
      def test_if_inherits_from_Person(self):
          self.assertTrue(issubclass(Staff, Person))
  
      def test_full_name_is_correct(self):
          self.assertEqual(self.staff.fname + ' ' + self.staff.lname, 'Nadia Alexis')
  
      def test_staff_id_generation(self):
          self.assertEqual(self.staff.id, 'stf29')
  
new_contents: from models.people import Person, Fellow, Staff
  from unittest import TestCase
  
  
  class PersonTestCases(TestCase):
      """Tests the functionality of the person parent class
      """
      def setUp(self):
          """Passes an instance of class Person to all the methods in this class
          """
          self.person = Person('Oluwafemi', 'Sule', 'Fellow')
  
      def test_full_name_is_correct(self):
          self.assertEqual(self.person.fname + ' ' + self.person.lname, 'Oluwafemi Sule')
  
  
  class FellowTestCases(TestCase):
      def setUp(self):
          self.fellow = Fellow('Nadia', 'Alexis', 'Fellow')
  
      def test_if_inherits_from_Person(self):
          self.assertTrue(issubclass(Fellow, Person))
  
      def test_person_name_is_correct(self):
          self.assertEqual(self.fellow.fname + ' ' + self.fellow.lname, 'Nadia Alexis')
  
      def test_fellow_id_generation(self):
          self.assertEqual(self.fellow.id, 'fel29')
  
  
  class StaffTestCases(TestCase):
      def setUp(self):
          self.staff = Staff('Nadia', 'Alexis', 'Staff')
  
      def test_if_inherits_from_Person(self):
          self.assertTrue(issubclass(Staff, Person))
  
      def test_full_name_is_correct(self):
          self.assertEqual(self.staff.fname + ' ' + self.staff.lname, 'Nadia Alexis')
  
      def test_staff_id_generation(self):
          self.assertEqual(self.staff.id, 'stf34')
  
subject: Edit person id values