Fixed #4113 Added integration tests to cover cell language unit tests (#5788)

* Fixed #4113

* Resolve PR comments
This commit is contained in:
Yurong He
2019-05-31 15:03:21 -07:00
committed by GitHub
parent 1bb9d142f1
commit 9f4053d051
3 changed files with 126 additions and 61 deletions

View File

@@ -35,6 +35,22 @@ export const pySparkNotebookContent: azdata.nb.INotebookContents = {
nbformat_minor: 2
};
export const notebookContentForCellLanguageTest: azdata.nb.INotebookContents = {
cells: [{
cell_type: CellTypes.Code,
source: '1+1',
metadata: {},
execution_count: 1
}],
metadata: {
'kernelspec': {
'name': ''
},
},
nbformat: 4,
nbformat_minor: 2
};
export const pythonNotebookMultipleCellsContent: azdata.nb.INotebookContents = {
cells: [{
cell_type: CellTypes.Code,