code: def test_tripwire():
      # Test tripwire object
      silly_module_name = TripWire("We do not have silly_module_name")
      with pytest.raises(TripWireError):
          silly_module_name.do_silly_thing
      # Check AttributeError can be checked too
      try:
          silly_module_name.__wrapped__
      except TripWireError as err:
          assert isinstance(err, AttributeError)
      else:
          raise RuntimeError("No error raised, but expected")
  
imports: import pytest
  from ..tripwire import TripWire, TripWireError, is_tripwire
label_desc: Use image node_id 2 for calling a global function with example usage: test_tripwire() without return types