old_contents: """
  @brief      test log(time=35s)
  """
  
  import sys
  import os
  import unittest
  import shutil
  
  
  try:
      import src
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..")))
      if path not in sys.path:
          sys.path.append(path)
      import src
  
  try:
      import pyquickhelper as skip_
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..",
                  "..",
                  "pyquickhelper",
                  "src")))
      if path not in sys.path:
          sys.path.append(path)
      import pyquickhelper as skip_
  
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import get_temp_folder, add_missing_development_version
  
  
  class TestNotebookRunner2a_2_correction (unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "jyquickhelper"],
                                          __file__, hide=True)
  
      def test_notebook_runner(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          from src.ensae_teaching_cs.automation.notebook_test_helper import ls_notebooks, execute_notebooks, unittest_raise_exception_notebook
          from src.ensae_teaching_cs.data import simple_database
          temp = get_temp_folder(__file__, "temp_notebook2a_2_corection")
          keepnote = ls_notebooks("td2a")
          assert len(keepnote) > 0
          res = execute_notebooks(temp, keepnote, lambda i, n: "_2" in n and
                                  "correction" in n and "_2B" not in n, fLOG=fLOG)
          unittest_raise_exception_notebook(res, fLOG)
  
  if __name__ == "__main__":
      unittest.main()
  
new_contents: """
  @brief      test log(time=35s)
  """
  
  import sys
  import os
  import unittest
  import shutil
  
  
  try:
      import src
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..")))
      if path not in sys.path:
          sys.path.append(path)
      import src
  
  try:
      import pyquickhelper as skip_
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..",
                  "..",
                  "pyquickhelper",
                  "src")))
      if path not in sys.path:
          sys.path.append(path)
      import pyquickhelper as skip_
  
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import get_temp_folder, add_missing_development_version
  
  
  class TestNotebookRunner2a_2_correction (unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "jyquickhelper"],
                                          __file__, hide=True)
  
      def test_notebook_runner(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          from src.ensae_teaching_cs.automation.notebook_test_helper import ls_notebooks, execute_notebooks, unittest_raise_exception_notebook
          from src.ensae_teaching_cs.data import simple_database
          temp = get_temp_folder(__file__, "temp_notebook2a_2_corection")
          keepnote = ls_notebooks("td2a")
          assert len(keepnote) > 0
          shutil.copy(simple_database(), temp)
          res = execute_notebooks(temp, keepnote, lambda i, n: "_2" in n and
                                  "correction" in n and "_2B" not in n, fLOG=fLOG)
          unittest_raise_exception_notebook(res, fLOG)
  
  if __name__ == "__main__":
      unittest.main()
  
subject: fix unit test