def test_parseFile(self):
        """
        Services are parsed from given C{file}.
        """
        conf = inetdconf.ServicesConf()
        with open(self.servicesFilename2) as f:
            conf.parseFile(f)
        self.assertEqual(conf.services, {
            ("https", "tcp"): 443,
        })

        Services are parsed from given C{file}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/runner/test/test_inetdconf.py