commit abd1d3b: don't use 3.6+ python re syntax in multiple test

John McKay adenosine3p at gmail.com
Mon Feb 4 14:35:16 UTC 2019


Author: John McKay
Date: 2019-02-02 05:02:53 +0000
URL: https://github.com/rspamd/rspamd/commit/abd1d3b74abafae12c644fde93e524fcbb7b1a52

don't use 3.6+ python re syntax in multiple test

---
 test/functional/cases/131_dkim_signing/005_multiple.robot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/functional/cases/131_dkim_signing/005_multiple.robot b/test/functional/cases/131_dkim_signing/005_multiple.robot
index 4ab5c10a4..72222f460 100644
--- a/test/functional/cases/131_dkim_signing/005_multiple.robot
+++ b/test/functional/cases/131_dkim_signing/005_multiple.robot
@@ -16,7 +16,7 @@ ${URL_TLD}      ${TESTDIR}/../lua/unit/test_tld.dat
 *** Test Cases ***
 TEST DOUBLE SIGNED
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -u  bob at cacophony.za.org
-  Check Rspamc  ${result}  (?s:DKIM-Signature.+DKIM-Signature)  re=1
+  Check Rspamc  ${result}  (?s)DKIM-Signature.+DKIM-Signature  re=1
   Should Contain  ${result.stdout}  DKIM_SIGNED
 
 *** Keywords ***


More information about the Commits mailing list