Skip to content

Commit

Permalink
test for new 'url' param updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuba Janoszek committed Nov 9, 2011
1 parent 654c1fd commit e3548b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ def test_downloads_exchange_rate_properly():
'search_date': '2010-07-11',
'table_no': u'132/A/NBP/2010',
'pub_date': u'2010-07-09',
'url': 'http://rss.nbp.pl/kursy/xml2/2010/a/10a132.xml',
'currency': {
'name': u'euro',
'rate': 4.0732999999999997,
'code': u'EUR'}}
'code': u'EUR',
},
}
currency_data = nbp.download_exchange_rate(nbp.date(2010, 7, 11), 'EUR')
assert_equals(expexted, currency_data)

0 comments on commit e3548b6

Please sign in to comment.