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