def test_build_collections(self):
     collections = build_collections(write=False)
     confirmed_exchanges = []
     for exchange_list in collections.values():
         for exchange_name in exchange_list:
             if exchange_name in confirmed_exchanges:
                 continue
             exchange = getattr(ccxt, exchange_name)()
             self.assertTrue(exchange.has['fetchOrderBook'])
             confirmed_exchanges.append(exchange_name)
Exemplo n.º 2
0
 def test_build_collections(self):
     collections = asyncio.get_event_loop().run_until_complete(
         build_collections(write=False))
     confirmed_exchanges = []
     for exchange_list in collections.values():
         for exchange_name in exchange_list:
             if exchange_name in confirmed_exchanges:
                 continue
             exchange = getattr(ccxt, exchange_name)()
             self.assertTrue(exchange.has['fetchOrderBook'])
             confirmed_exchanges.append(exchange_name)