(self, cond, message, calculated_output, stored_output, key=None)
| 709 | exit_script(1) |
| 710 | |
| 711 | def assert_static_error(self, cond, message, calculated_output, stored_output, key=None): |
| 712 | # ----------------------------------------------------------------------------- |
| 713 | # --- Init of static tests functions------------------------------------------ |
| 714 | # ----------------------------------------------------------------------------- |
| 715 | calculated_string = json_stringify(calculated_output) |
| 716 | stored_string = json_stringify(stored_output) |
| 717 | error_message = message |
| 718 | if key is not None: |
| 719 | error_message = '[' + key + ']' |
| 720 | error_message += ' computed: ' + stored_string + ' stored: ' + calculated_string |
| 721 | assert cond, error_message |
| 722 | |
| 723 | def load_markets_from_file(self, id): |
| 724 | # load markets from file |
no test coverage detected