mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 15:26:19 +00:00
[tests] Remove encoding in view text file.
This commit is contained in:
@@ -81,7 +81,7 @@ class ViewLibFileTest(BaseTestCase):
|
|||||||
self.assertTemplateUsed(resp, 'text_file_view_react.html')
|
self.assertTemplateUsed(resp, 'text_file_view_react.html')
|
||||||
assert resp.context['filetype'].lower() == 'text'
|
assert resp.context['filetype'].lower() == 'text'
|
||||||
assert resp.context['file_content'] == ''
|
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):
|
def test_ms_doc_without_office_converter(self):
|
||||||
self.login_as(self.user)
|
self.login_as(self.user)
|
||||||
|
Reference in New Issue
Block a user