示例#1
0
def test_bitcoinde_invalid_trading_pair():
    with pytest.raises(UnknownAsset):
        _ = bitcoinde_pair_to_world('000btc')

    with pytest.raises(DeserializationError):
        _ = bitcoinde_pair_to_world('invalidpair')
示例#2
0
def test_bitcoinde_trading_pairs():
    for pair in BITCOINDE_TRADING_PAIRS:
        _ = bitcoinde_pair_to_world(pair)