def test_bitcoinde_invalid_trading_pair(): with pytest.raises(UnknownAsset): _ = bitcoinde_pair_to_world('000btc') with pytest.raises(DeserializationError): _ = bitcoinde_pair_to_world('invalidpair')
def test_bitcoinde_trading_pairs(): for pair in BITCOINDE_TRADING_PAIRS: _ = bitcoinde_pair_to_world(pair)