"""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")
[docs] def test_chapter4(self):
self.do_notebook("chapter4")
[docs] def test_chapter5(self):
self.do_notebook("chapter5")
[docs] @unittest.skip("Requires sympy")
def test_chapter6(self):
self.do_notebook("chapter6")
# def test_chapter6(self):
# self.do_notebook("chapter6")