def METHOD_NAME(self):
    root_directory = Path(mkdtemp())
    docroot_path = root_directory
    from_directory = root_directory / "a"
    from_directory.mkdir()
    (from_directory / "test.txt").touch()
    to_directory = root_directory / "b"
    from_directory_symlink = root_directory / "symlink-a"
    from_directory_symlink.symlink_to(from_directory)
    self.assertFalse(to_directory.exists())
    with override_settings(DOCROOT=docroot_path):
        self.assertFalse(safe_copytree(from_directory_symlink, to_directory))
    self.assertFalse(to_directory.exists())