Source code for sciunit.unit_test.doc_tests

"""Unit tests for documentation"""

import unittest
from sciunit.utils import NotebookTools

[docs]class DocumentationTestCase(NotebookTools,unittest.TestCase): """Unit tests for documentation notebooks""" path = '../../docs'
[docs] def test_chapter1(self): self.do_notebook('chapter1')
[docs] def test_chapter2(self): self.do_notebook('chapter2')
[docs] def test_chapter3(self): self.do_notebook('chapter3')