def assertProjectsEqual(self, observedProjects, expectedProjects):
        self.assertEqual(len(observedProjects), len(expectedProjects))
        observedProjects = sorted(observedProjects,
                                  key=operator.attrgetter('directory'))
        expectedProjects = sorted(expectedProjects,
                                  key=operator.attrgetter('directory'))
        for observed, expected in zip(observedProjects, expectedProjects):
            self.assertEqual(observed.directory, expected.directory)
Connect to a host on a given (SSL) port.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/test/test_release.py/ProjectTest.assertProjectsEqual--crossover with--dataset/ETHPy150Open phfaist/updater4pyi/updater4pyi/upd_downloader.py/ValidHTTPSConnection.connect