code: def test_create_report_after_dir_change(self):
      #
      # test for https://github.com/mljar/mljar-supervised/issues/384
      #
      self.create_dir(self.automl_dir_a)
      self.create_dir(self.automl_dir_b)
  
      path_a = os.path.join(self.automl_dir_a, self.automl_dir)
      path_b = os.path.join(self.automl_dir_b, self.automl_dir)
  
      X = np.random.uniform(size=(30, 2))
      y = np.random.randint(0, 2, size=(30,))
  
      automl = AutoML(
          results_path=path_a, algorithms=["Baseline"], explain_level=0
      )
      automl.fit(X, y)
  
      shutil.move(path_a, path_b)
  
      automl2 = AutoML(
          results_path=path_b,
      )
      automl2.report()
  
file_path: mljar-supervised/tests/tests_automl/test_dir_change.py
imports: import os
  import json
  import shutil
  import unittest
  import tempfile
  import numpy
  import pandas
  from sklearn import datasets
  from numpy.testing import assert_almost_equal
  from supervised import AutoML
  from supervised.exceptions import AutoMLException
label_desc: Use image node_id 3 for calling the AutoMLDirChangeTest obj's underlying member method code with example usage: obj.test_create_report_after_dir_change() without return types