mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
Move notebook fixture to deletetest file to minimize the dependency on changes in PR #3475. This should be update once that PR is merged
This commit is contained in:
parent
2ef45d5577
commit
a47ecd4c07
@ -2,6 +2,10 @@ import os
|
||||
import pytest
|
||||
from .utils import Notebook
|
||||
|
||||
@pytest.fixture
|
||||
def notebook(authenticated_browser):
|
||||
return Notebook.new_notebook(authenticated_browser)
|
||||
|
||||
def get_cells_contents(nb):
|
||||
JS = 'return Jupyter.notebook.get_cells().map(function(c) {return c.get_text();})'
|
||||
return nb.browser.execute_script(JS)
|
||||
|
Loading…
Reference in New Issue
Block a user