Skip to content

Commit

Permalink
updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mortada committed May 20, 2015
1 parent 1785968 commit 9c16b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fredapi/tests/test_fred.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def testGetSeries(self):
pass

def testSearch(self):
personal_income_series = self.fred.search_by_release(175, limit=5, order_by='popularity', sort_order='desc')
series_ids = ['PCPI08081', 'PCPI22071', 'PCPI42101', 'PCPI06083', 'PCPI06075']
personal_income_series = self.fred.search_by_release(175, limit=3, order_by='popularity', sort_order='desc')
series_ids = ['PCPI06037', 'PCPI06075', 'PCPI24510']
for series_id in series_ids:
self.assertTrue(series_id in personal_income_series.index)
self.assertEqual(personal_income_series.ix[series_id, 'observation_start'], datetime(1969, 1, 1))
Expand Down

0 comments on commit 9c16b25

Please sign in to comment.