def test_if_notebooks_are_the_same_from_different_input_types(self):
     nb = Notebook()
     nb.read_notebook("tests/test.ipynb")
     nb2 = Notebook()
     nb2.read_py("tests/test.py")
     self.assertEqual(nb.to_dict(), nb.to_dict())
 def test_if_notebooks_are_the_same_from_different_input_types(self):
     nb = Notebook()
     nb.read_notebook("tests/test.ipynb")
     nb2 = Notebook()
     nb2.read_py("tests/test.py")
     self.assertEqual(nb.to_dict(), nb.to_dict())
 def test_notebook_read_py_file_cell_loading(self):
     nb = Notebook()
     nb.read_py("tests/test.py")
     self.assertGreater(len(nb.cells), 0)
 def test_notebook_read_py_file_cell_loading(self):
     nb = Notebook()
     nb.read_py("tests/test.py")
     self.assertGreater(len(nb.cells), 0)