Skip to content

Commit

Permalink
Change docstring for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Mar 26, 2017
1 parent 9d18864 commit b4896ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spyder_notebook/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ def setup_notebook(qtbot):


def test_new_notebook(qtbot):
"""Create a new client."""
"""Test that a new client is really a notebook."""
# Create notebook
notebook = setup_notebook(qtbot)

# Wait for prompt
nbwidget = notebook.get_current_nbwidget()
qtbot.waitUntil(lambda: prompt_present(nbwidget), timeout=NOTEBOOK_UP)

# Assert that we have one notebook
assert len(notebook.clients) == 1


Expand Down

0 comments on commit b4896ee

Please sign in to comment.