From ff069e1d8691737fa7c1e1a52e326ceecdeb9c9e Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Mon, 23 Mar 2015 17:48:43 +0100 Subject: [PATCH] test: workaround for imaplib behaviour an empty string appears after each literal string. Signed-off-by: Pierre-Louis Bonicoli Signed-off-by: Nicolas Sebrecht --- test/OLItest/TestRunner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/OLItest/TestRunner.py b/test/OLItest/TestRunner.py index e7fbaa7..320ddcf 100644 --- a/test/OLItest/TestRunner.py +++ b/test/OLItest/TestRunner.py @@ -148,6 +148,8 @@ class OLITestLib(): assert res_t == 'OK' dirs = [] for d in data: + if d == '': + continue if isinstance(d, tuple): # literal (unquoted) folder = b'"%s"' % d[1].replace('"', '\\"')