(self, exchange, symbol_argv)
| 672 | return True |
| 673 | |
| 674 | async def start_test(self, exchange, symbol_argv): |
| 675 | # we do not need to test aliases |
| 676 | if exchange.alias: |
| 677 | return True |
| 678 | self.check_constructor(exchange) |
| 679 | # await this.testReturnResponseHeaders (exchange); |
| 680 | if self.sandbox or get_exchange_prop(exchange, 'sandbox'): |
| 681 | exchange.set_sandbox_mode(True) |
| 682 | self.test_has_props(exchange) |
| 683 | try: |
| 684 | result = await self.load_exchange(exchange) |
| 685 | if not result: |
| 686 | if not is_sync(): |
| 687 | await close(exchange) |
| 688 | return True |
| 689 | # if (exchange.id === 'binance') { |
| 690 | # # we test proxies functionality just for one random exchange on each build, because proxy functionality is not exchange-specific, instead it's all done from base methods, so just one working sample would mean it works for all ccxt exchanges |
| 691 | # # await this.testProxies (exchange); |
| 692 | # } |
| 693 | await self.test_exchange(exchange, symbol_argv) |
| 694 | if not is_sync(): |
| 695 | await close(exchange) |
| 696 | except Exception as e: |
| 697 | if not is_sync(): |
| 698 | await close(exchange) |
| 699 | raise e |
| 700 | |
| 701 | def test_has_props(self, exchange): |
| 702 | watch_order_book_skips = self.get_skips(exchange, 'watchOrderBook') |
no test coverage detected