Make test pass.
Chris Pressey
6 years ago
606 | 606 | |
607 | 607 | if '%(test-input-text)' in self.command: |
608 | 608 | # escape all single quotes in input |
609 | body = re.sub(r"'", r"\'", body) | |
609 | input = re.sub(r"'", r"\'", input) | |
610 | 610 | # replace all occurrences in command |
611 | 611 | command = command.replace('%(test-input-text)', input) |
612 | 612 | command_contained_test_input_text = True |