def test_no_end_marker(self): self.assertEqual('abc\ndef', testcase_manager._get_crash_output('abc\ndef')) # pylint: disable=protected-access
def test_end_marker(self): self.assertEqual( 'abc\ndef\n', testcase_manager._get_crash_output( # pylint: disable=protected-access 'abc\ndef\nCRASH OUTPUT ENDS HERE\nghi'))
def test_none(self): self.assertEqual(None, testcase_manager._get_crash_output(None)) # pylint: disable=protected-access