(self, exchange, symbol_argv)
| 669 | return True |
| 670 | |
| 671 | def start_test(self, exchange, symbol_argv): |
| 672 | # we do not need to test aliases |
| 673 | if exchange.alias: |
| 674 | return True |
| 675 | self.check_constructor(exchange) |
| 676 | # this.testReturnResponseHeaders (exchange); |
| 677 | if self.sandbox or get_exchange_prop(exchange, 'sandbox'): |
| 678 | exchange.set_sandbox_mode(True) |
| 679 | self.test_has_props(exchange) |
| 680 | try: |
| 681 | result = self.load_exchange(exchange) |
| 682 | if not result: |
| 683 | if not is_sync(): |
| 684 | close(exchange) |
| 685 | return True |
| 686 | # if (exchange.id === 'binance') { |
| 687 | # # 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 |
| 688 | # # this.testProxies (exchange); |
| 689 | # } |
| 690 | self.test_exchange(exchange, symbol_argv) |
| 691 | if not is_sync(): |
| 692 | close(exchange) |
| 693 | except Exception as e: |
| 694 | if not is_sync(): |
| 695 | close(exchange) |
| 696 | raise e |
| 697 | |
| 698 | def test_has_props(self, exchange): |
| 699 | watch_order_book_skips = self.get_skips(exchange, 'watchOrderBook') |
no test coverage detected