Exemplo n.º 1
0
 def test_uninstall_core_extension(self):
     uninstall_extension('@jupyterlab/console-extension')
     app_dir = get_app_dir()
     _ensure_package(app_dir)
     with open(pjoin(app_dir, 'staging', 'package.json')) as fid:
         data = json.load(fid)
     extensions = data['jupyterlab']['extensions']
     assert '@jupyterlab/console-extension' not in extensions
 def test_uninstall_core_extension(self):
     uninstall_extension('@jupyterlab/console-extension')
     app_dir = get_app_dir()
     _ensure_package(app_dir)
     with open(pjoin(app_dir, 'staging', 'package.json')) as fid:
         data = json.load(fid)
     extensions = data['jupyterlab']['extensions']
     assert '@jupyterlab/console-extension' not in extensions