mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 09:35:38 -05:00
Remove all Big Data Cluster features (#21369)
This commit is contained in:
@@ -58,7 +58,7 @@ describe('Notebook Extension Python Installation', function () {
|
||||
console.log('Uninstalling existing pip dependencies');
|
||||
let install = jupyterController.jupyterInstallation;
|
||||
let pythonExe = JupyterServerInstallation.getPythonExePath(pythonInstallDir);
|
||||
let command = `"${pythonExe}" -m pip uninstall -y jupyter pandas sparkmagic`;
|
||||
let command = `"${pythonExe}" -m pip uninstall -y jupyter`;
|
||||
await executeStreamedCommand(command, { env: install.execOptions.env }, install.outputChannel);
|
||||
console.log('Uninstalling existing pip dependencies is done');
|
||||
|
||||
@@ -84,15 +84,15 @@ describe('Notebook Extension Python Installation', function () {
|
||||
let testPkgVersion = '0.24.2';
|
||||
let expectedPkg: PythonPkgDetails = { name: testPkg, version: testPkgVersion };
|
||||
|
||||
await install.installPipPackages([{ name: testPkg, version: testPkgVersion}], false);
|
||||
await install.installPipPackages([{ name: testPkg, version: testPkgVersion }], false);
|
||||
let packages = await install.getInstalledPipPackages();
|
||||
should(packages).containEql(expectedPkg);
|
||||
|
||||
await install.uninstallPipPackages([{ name: testPkg, version: testPkgVersion}]);
|
||||
await install.uninstallPipPackages([{ name: testPkg, version: testPkgVersion }]);
|
||||
packages = await install.getInstalledPipPackages();
|
||||
should(packages).not.containEql(expectedPkg);
|
||||
|
||||
await install.installPipPackages([{ name: testPkg, version: testPkgVersion}], false);
|
||||
await install.installPipPackages([{ name: testPkg, version: testPkgVersion }], false);
|
||||
packages = await install.getInstalledPipPackages();
|
||||
should(packages).containEql(expectedPkg);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user