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:
Chris LaFreniere
2019-04-17 16:46:10 -07:00
committed by GitHub
parent ef118e3351
commit 910e4815fa
2 changed files with 6 additions and 2 deletions

View File

@@ -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;