code: def test_langlower():
      assert lang_to_langcode("WOLOF") == "wo"
      assert lang_to_langcode("nOrWeGiAn") == "nb"
  
      assert "soj" == langlower2lcode["soi"]
      assert "soj" == langlower2lcode["sohi"]
  
file_path: stanza/stanza/tests/common/test_constant.py
imports: import tempfile
  import pytest
  import stanza
  from stanza.models.common.constant import treebank_to_short_name, lang_to_langcode, is_right_to_left, two_to_three_letters, langlower2lcode
  from stanza.tests import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_langlower() without return types