code: def test_extlinks_detect_candidates(app, warning):
      app.build()
      assert warning.getvalue() == ""
  
imports: import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_extlinks_detect_candidates(app, warning) without return types