提交 f36280f1 编写于 作者: B binux

fix test for py2.7

上级 1be63e81
......@@ -173,7 +173,7 @@ class TestWebUI(unittest.TestCase):
def test_39_save_with_chinese_characters(self):
rv = self.app.post('/debug/test_project/save', data={
'script': self.script_content + '\n#中文',
'script': self.script_content + u'\n#中文',
})
self.assertEqual(rv.status_code, 200)
self.assertIn(b'ok', rv.data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册