code: def test_invalid_logging_mode():
      with pytest.raises(AssertionError):
          ivy.set_logging_mode("INVALID")
  
imports: import pytest
  import logging
  import ivy
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_logging_mode() without return types