Ejemplo n.º 1
0
 def test_fred_specific_release(self):
     fred.key('my_key')
     fred.release('123')
     expected = 'http://api.stlouisfed.org/fred/release'
     params = {
         'api_key': 'my_key',
         'release_id': '123',
         'file_type': 'json'
     }
     self.get.assert_called_with(expected, params=params)
Ejemplo n.º 2
0
 def test_fred_specific_release(self):
     fred.key('my_key')
     fred.release('123')
     expected = 'https://api.stlouisfed.org/fred/release'
     params = {'api_key': 'my_key', 'release_id': '123', 'file_type': 'json'}
     self.get.assert_called_with(expected, params=params)