def _content(note, content): """ content of the note :param note: note object :param content: content string to make the main body of the note :return: """ note.content = EvernoteMgr.set_header() note.content += sanitize(content) return note
def test_set_header(self): header = EvernoteMgr.set_header() self.assertTrue('DOCTYPE en-note SYSTEM "http://xml.evernote.' 'com/pub/enml2.dtd' in header)