test: workaround for imaplib behaviour
an empty string appears after each literal string. Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@gmx.fr> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
ecc2af9f99
commit
ff069e1d86
@ -148,6 +148,8 @@ class OLITestLib():
|
|||||||
assert res_t == 'OK'
|
assert res_t == 'OK'
|
||||||
dirs = []
|
dirs = []
|
||||||
for d in data:
|
for d in data:
|
||||||
|
if d == '':
|
||||||
|
continue
|
||||||
if isinstance(d, tuple):
|
if isinstance(d, tuple):
|
||||||
# literal (unquoted)
|
# literal (unquoted)
|
||||||
folder = b'"%s"' % d[1].replace('"', '\\"')
|
folder = b'"%s"' % d[1].replace('"', '\\"')
|
||||||
|
Loading…
Reference in New Issue
Block a user