'Edit the yaml file incorrectly (resulting in a malformed yaml
document).'

def test_malformed_yaml(self, mock_write):

    self.run_mocked_command({'contents': '!MALFORMED'}, ['n'])
    self.assertCounts(mock_write, write_call_count=0, title_starts_with=u't\xeftle')
