(self, first, second, msg=None)
| 273 | return CsvItemExporter(self.output, **kwargs) |
| 274 | |
| 275 | def assertCsvEqual(self, first, second, msg=None): |
| 276 | def split_csv(csv): |
| 277 | return [ |
| 278 | sorted(re.split(r"(,|\s+)", line)) |
| 279 | for line in to_unicode(csv).splitlines(True) |
| 280 | ] |
| 281 | |
| 282 | assert split_csv(first) == split_csv(second), msg |
| 283 | |
| 284 | def _check_output(self): |
| 285 | self.output.seek(0) |
no outgoing calls
no test coverage detected