(self, parser, expected_help)
| 182 | self.assertRaises(func, args, None, TypeError, expected_message) |
| 183 | |
| 184 | def assertHelp(self, parser, expected_help): |
| 185 | actual_help = parser.format_help() |
| 186 | if actual_help != expected_help: |
| 187 | raise self.failureException( |
| 188 | 'help text failure; expected:\n"' + |
| 189 | expected_help + '"; got:\n"' + |
| 190 | actual_help + '"\n') |
| 191 | |
| 192 | # -- Test make_option() aka Option ------------------------------------- |
| 193 |
no test coverage detected