code: def test_look_at_quat_front_points_toward_target():
      position = (0.0, 0.0, 0.0)
      target = (1.0, 1.0, 1.0)
      front = "-Z"
      up = "Y"
      q = pyquat.Quaternion(
          *objects.look_at_quat(position, target, up, front)
      )
      direction = q.rotate(np.array([0, 0, -1.0]))
      dir_expected = np.array(target) / np.linalg.norm(target)
  
      assert np.allclose(direction, dir_expected)
  
imports: import re
  import pytest
  import numpy
  from numpy.testing import assert_allclose
  import pyquaternion
  from traitlets import TraitError
  from unittest import mock
  from kubric.core import Asset
  from kubric.core import UndefinedAsset
  from kubric.core import objects
  from kubric.core import materials
label_desc: Use image node_id 12 for calling a global function with example usage: test_look_at_quat_front_points_toward_target() without return types