code: def test_make_currency_api_request():
      """
      Test for currency API request.
  
      This test exists because we rely solely on the service by
      exchangeratesapi. That said, we also mark it as expected to fail because
      it sometimes pings the exchange rates API a too frequently and causes
      tests to fail.
  
      For an example of how this test fails, see:
      https://github.com/pyjanitor-devs/pyjanitor/issues/147
      """
      r = requests.get("https://api.exchangeratesapi.io")
      assert r.status_code == 200
  
file_path: pyjanitor/tests/finance/test_convert_currency.py
imports: from datetime import date, datetime
  import pytest
  import requests
  from janitor.finance import convert_currency
label_desc: Use image node_id 1 for calling a global function with example usage: test_make_currency_api_request() without return types