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