Skip to content

Commit

Permalink
Update assert statement to use a list for more descriptive errors and…
Browse files Browse the repository at this point in the history
… less requests to the browser
  • Loading branch information
sheshtawy committed Apr 28, 2018
1 parent 17e46a7 commit b25a142
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions notebook/tests/selenium/test_dualmode_insertcell.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,4 @@ def test_insert_cell(notebook):
notebook.focus_cell(2)
shift(notebook.browser, Keys.DOWN)
notebook.current_cell.send_keys('b')
assert notebook.get_cell_contents(1) == ""
assert notebook.get_cell_contents(2) == "cell1"
assert notebook.get_cell_contents(3) == "cell2"
assert notebook.get_cell_contents(4) == ""
assert notebook.get_cells_contents()[1:5] == ["", "cell1", "cell2", ""]

0 comments on commit b25a142

Please sign in to comment.