test_mbox_format.py 477 B

1234567891011121314
  1. # Checks correct parsing of mboxes
  2. #
  3. # Copyright (C) 2016 Intel Corporation
  4. #
  5. # SPDX-License-Identifier: GPL-2.0-only
  6. import base
  7. class MboxFormat(base.Base):
  8. def test_mbox_format(self):
  9. if self.unidiff_parse_error:
  10. self.fail('Series cannot be parsed correctly due to malformed diff lines. Create the series again using git-format-patch and ensure it can be applied using git am',
  11. data=[('Diff line',self.unidiff_parse_error)])