diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-10 12:13:37 -0400 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-07-13 11:55:31 -0400 |
commit | 5cbb56ab995c620595ab6b840ebabd535fb31244 (patch) | |
tree | be3b3598f92515f384de784aa89675d811041dfa /src/leap/mail/imap/tests | |
parent | aae0daf7a6348c3977e9c16f3499731f77edfb7f (diff) |
[tests] get REGRESSIONS_FOLDER from env var
in order to start with a fresh folder each time.
current test script has some troubles with dirty state.
Diffstat (limited to 'src/leap/mail/imap/tests')
-rwxr-xr-x | src/leap/mail/imap/tests/regressions_mime_struct | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/mail/imap/tests/regressions_mime_struct b/src/leap/mail/imap/tests/regressions_mime_struct index 1e0e870..0332664 100755 --- a/src/leap/mail/imap/tests/regressions_mime_struct +++ b/src/leap/mail/imap/tests/regressions_mime_struct @@ -40,7 +40,9 @@ from twisted.protocols import basic from twisted.python import log -REGRESSIONS_FOLDER = "regressions_test" +REGRESSIONS_FOLDER = os.environ.get( + "REGRESSIONS_FOLDER", "regressions_test") +print "[+] Using regressions folder:", REGRESSIONS_FOLDER parser = Parser() |