code: def test_property_justification_horizontal(prop, justification):
      prop.justification_horizontal = justification[0]
      assert prop.GetJustificationAsString().lower() == justification[1]
      assert prop.justification_horizontal == justification[0]
      prop = pv.TextProperty(justification_horizontal=justification[0])
      assert prop.GetJustificationAsString().lower() == justification[1]
      assert prop.justification_horizontal == justification[0]
  
imports: import os
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 22 for calling a global function with example usage: test_property_justification_horizontal(prop, justification) without return types