From 2fbf8835e18ae384ad1f34abb7dcede4673a7b10 Mon Sep 17 00:00:00 2001 From: Juergen Hasch Date: Mon, 5 Jan 2015 11:18:41 +0100 Subject: [PATCH] fix insert_cell_at_index call in tests --- IPython/html/tests/notebook/display_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/tests/notebook/display_image.js b/IPython/html/tests/notebook/display_image.js index e04a2521a..1e980e683 100644 --- a/IPython/html/tests/notebook/display_image.js +++ b/IPython/html/tests/notebook/display_image.js @@ -16,7 +16,7 @@ b64_image_data = { casper.notebook_test(function () { this.test_img_shape = function(fmt, retina) { this.thenEvaluate(function (b64data, retina) { - 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([ "import base64",