Split the code of the mountindex command to be able to add tests. Fix the way the children of IndexInstanceNode are accessed. Fixes GitLab issue #518. Thanks to TheOneValen @TheOneValen for the report. Remove newlines from the index name levels before using them as FUSE directories. Fixed duplicated FUSE directory removal.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
4
mayan/apps/mirroring/tests/literals.py
Normal file
4
mayan/apps/mirroring/tests/literals.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
TEST_NODE_EXPRESSION = 'level_1'
|
||||
TEST_NODE_EXPRESSION_MULTILINE = 'first\r\nsecond\r\nthird'
|
||||
Reference in New Issue
Block a user