def test_should_fail_on_non_notebook(self): with pytest.raises(Exception): main(['static', '--notebook', 'docs/examples/docstring_doi.py'])
def test_should_not_fail_on_runtime_analysis_of_examples(self): main(['run', 'docs/examples/minimal.py'])
def test_should_not_fail_on_notebook(self): main(['static', '--notebook', 'tests/fixtures/notebook_doi.ipynb'])
def test_should_not_fail_on_static_analysis_of_examples_ignoring_docstrings( self): main(['static', 'docs/examples'])