def test_updateArticle(self): # Let's use dummy file doc_id = '9999999999' updateArticle(doc_id) # Client side index updated? fd = file(config.index_filename(), 'r') client_index = fd.read() fd.close()
def setUpClass(cls): destroy() init() updateArticle(Var.dummy_id) # Write a comment for dummy article doc_id = Var.dummy_id _base64_content = '어찌하다가 우리가 이런일에 \\n 아' _base64_name = '달수' password = '******' writeComment(doc_id, _base64_content, _base64_name, password)
def setUp(self): # Post dummy updateArticle(Var.dummy_id)