From 5e641876da022700446951455bb776b51f562191 Mon Sep 17 00:00:00 2001 From: Juergen Hasch Date: Mon, 5 Jan 2015 11:21:30 +0100 Subject: [PATCH] fix insert_cell_at_index call in tests --- IPython/html/tests/notebook/output.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/tests/notebook/output.js b/IPython/html/tests/notebook/output.js index b519b648b..b442a044f 100644 --- a/IPython/html/tests/notebook/output.js +++ b/IPython/html/tests/notebook/output.js @@ -10,7 +10,7 @@ casper.notebook_test(function () { }); this.thenEvaluate(function (code) { - IPython.notebook.insert_cell_at_index(0, "code"); + IPython.notebook.insert_cell_at_index("code", 0); var cell = IPython.notebook.get_cell(0); cell.set_text(code); cell.execute(); @@ -38,7 +38,7 @@ casper.notebook_test(function () { }; this.thenEvaluate(function () { - IPython.notebook.insert_cell_at_index(0, "code"); + IPython.notebook.insert_cell_at_index("code", 0); var cell = IPython.notebook.get_cell(0); cell.set_text([ "from __future__ import print_function",