Beispiel #1
0
 def test_fred_series_updates(self):
     fred.key('ALL THE FRED API!')
     fred.updates()
     expected = 'http://api.stlouisfed.org/fred/series/updates'
     params = {'api_key': 'ALL THE FRED API!', 'file_type': 'json'}
     self.get.assert_called_with(expected, params=params)
Beispiel #2
0
 def test_fred_series_updates(self):
     fred.key('ALL THE FRED API!')
     fred.updates()
     expected = 'https://api.stlouisfed.org/fred/series/updates'
     params = {'api_key': 'ALL THE FRED API!', 'file_type': 'json'}
     self.get.assert_called_with(expected, params=params)