Mirroring: Fix failing tests
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -37,7 +37,7 @@ class IndexFilesystem(Operations):
|
||||
return queryset.annotate(
|
||||
clean_value=Trim(
|
||||
Func(
|
||||
F('value'), Value('\r\n'), Value(' '), function='replace'
|
||||
F('value'), Value('\n'), Value(' '), function='replace'
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
@@ -151,7 +151,7 @@ class IndexFilesystemTestCase(DocumentIndexingTestMixin, DocumentTestMixin, Base
|
||||
self.assertEqual(
|
||||
list(
|
||||
index_filesystem.readdir(
|
||||
'/{}'.format(TEST_NODE_EXPRESSION), ''
|
||||
'/', ''
|
||||
)
|
||||
)[2:], []
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user