class TestForPeopleInputAndUse(unittest.TestCase): """Unittest for people collection""" def setUp(self): self.people = FileParser() self.people_file = self.people.read_file() self.people_collect = PeopleCollection def test_for_people_collection_in_read_file(self): self.assertIsInstance(self.people_file, self.people_collect)
def setUp(self): self.people = FileParser() self.people_file = self.people.read_file() self.people_collect = PeopleCollection