mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 17:23:42 -05:00
Enable Python Integration Tests For Notebooks (#5090)
* Enable python notebook tests * change run_python3_test to be string * Add explicit pyspark check
This commit is contained in:
@@ -71,7 +71,7 @@ if (context.RunTest) {
|
||||
await verifyClearAllOutputs(notebook);
|
||||
});
|
||||
|
||||
if (process.env.RUN_PYTHON3_TEST === '1') {
|
||||
if (process.env['RUN_PYTHON3_TEST'] === '1') {
|
||||
test('Python3 notebook test', async function () {
|
||||
let notebook = await openNotebook(pySparkNotebookContent, pythonKernelMetadata, this.test.title);
|
||||
let cellOutputs = notebook.document.cells[0].contents.outputs;
|
||||
@@ -86,7 +86,7 @@ if (context.RunTest) {
|
||||
});
|
||||
}
|
||||
|
||||
if (process.env.RUN_PYSPARK_TEST === '1') {
|
||||
if (process.env['RUN_PYSPARK_TEST'] === '1') {
|
||||
test('PySpark3 notebook test', async function () {
|
||||
let notebook = await openNotebook(pySparkNotebookContent, pySpark3KernelMetadata, this.test.title);
|
||||
let cellOutputs = notebook.document.cells[0].contents.outputs;
|
||||
|
||||
Reference in New Issue
Block a user