def test_ecb_eur(): rate = exchange.ecb('EUR', 'EUR') assert rate == 1.00
def test_ecb(): rate = exchange.ecb('USD', 'CNY') assert rate > 6 assert rate < 7