1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00

[tests] Remove encoding in view text file.

This commit is contained in:
zhengxie
2019-02-26 11:20:29 +08:00
parent 731179f2dd
commit ac989da25a

View File

@@ -81,7 +81,7 @@ class ViewLibFileTest(BaseTestCase):
self.assertTemplateUsed(resp, 'text_file_view_react.html')
assert resp.context['filetype'].lower() == 'text'
assert resp.context['file_content'] == ''
assert resp.context['encoding'] == 'utf-8'
# assert resp.context['encoding'] == 'utf-8'
def test_ms_doc_without_office_converter(self):
self.login_as(self.user)