don't use autoinstall to import pywebsocket but check it in WebKit directly.
[WebKit-https.git] / Tools / Scripts / webkitpy / thirdparty / __init___unittest.py
index b1964e9..3583ab4 100644 (file)
@@ -39,14 +39,10 @@ class ThirdpartyTest(unittest.TestCase):
             def __init__(self):
                 AutoinstallImportHook.__init__(self)
                 self._eliza_installed = False
-                self._pywebsocket_installed = False
 
             def _install_eliza(self):
                 self.eliza_installed = True
 
-            def _install_pywebsocket(self):
-                self.pywebsocket_installed = True
-
         mock_import_hook = MockImportHook()
         try:
             # The actual AutoinstallImportHook should be installed before us,
@@ -55,8 +51,6 @@ class ThirdpartyTest(unittest.TestCase):
             from webkitpy.thirdparty.autoinstalled import eliza
             self.assertTrue(mock_import_hook.eliza_installed)
 
-            from webkitpy.thirdparty.autoinstalled.pywebsocket import mod_pywebsocket
-            self.assertTrue(mock_import_hook.pywebsocket_installed)
         finally:
             sys.meta_path.remove(mock_import_hook)