code: def test_set_default_engine_invalid():
      with pytest.raises(ValueError, match=r"unknown engine"):
          graphviz.set_default_engine("nonengine")
  
imports: import pytest
  import graphviz
label_desc: Use image node_id 1 for calling a global function with example usage: test_set_default_engine_invalid() without return types