Пример #1
0
 def test_fred_series_vintage_dates(self):
     fred.key('123abc')
     fred.vintage('AAA', sort='desc')
     expected = 'https://api.stlouisfed.org/fred/series/vintagedates'
     params = {
         'api_key': '123abc',
         'series_id': 'AAA',
         'sort_order': 'desc',
         'file_type': 'json'}
     self.get.assert_called_with(expected, params=params)