예제 #1
0
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)
예제 #2
0
 def setUp(self):
     self.people = FileParser()
     self.people_file = self.people.read_file()
     self.people_collect = PeopleCollection