code: def test_write_netrc_invalid_host():
      api_key = "X" * 40
      res = wandb_lib.apikey.write_netrc(
          "http://foo", "vanpelt", api_key
      )
      assert res is None
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_write_netrc_invalid_host() without return types