code: def test_expected_result_with_full_country_name(dataframe):
      """Test inflation calculation works when providing country name."""
      initialval = dataframe["a"].sum()
      # Pulled raw values from API website for USA 2018 and 2015
      inflator = _inflate_currency(
          "United States", currency_year=2018, to_year=2015
      )
      df = dataframe.inflate_currency(
          "a",
          country="United States",
          currency_year=2018,
          to_year=2015,
          make_new_column=True,
      )
      updatedval = df["a_2015"].sum()
      assert (initialval * inflator) == pytest.approx(updatedval)
  
file_path: pyjanitor/tests/finance/test_inflate_currency.py
imports: import pytest
  import requests
  from janitor.finance import _inflate_currency, inflate_currency
label_desc: Use image node_id 5 for calling a global function with example usage: test_expected_result_with_full_country_name(dataframe) without return types