]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix test cases
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 23 Sep 2018 17:34:04 +0000 (18:34 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 23 Sep 2018 17:34:04 +0000 (18:34 +0100)
test/functional/cases/131_dkim_signing/001_simple.robot
test/functional/cases/131_dkim_signing/002_redis.robot

index d5bd5684128c6c95aa02811a2f9f4a2bca0dccc6..96bdcc997a3623b320a7401afb9686f9a9b7d7b2 100644 (file)
@@ -17,17 +17,17 @@ ${URL_TLD}      ${TESTDIR}/../lua/unit/test_tld.dat
 TEST SIGNED
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -u  bob@cacophony.za.org
   Check Rspamc  ${result}  DKIM-Signature:
-  Should Contain  ${result.stdout}  DKIM_SIGNED (1.00)
+  Should Contain  ${result.stdout}  DKIM_SIGNED
 
 TEST NOT SIGNED - USERNAME WRONG DOMAIN
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -u  bob@example.tk
   Check Rspamc  ${result}  DKIM-Signature:  inverse=1
-  Should Not Contain  ${result.stdout}  DKIM_SIGNED (1.00)
+  Should Not Contain  ${result.stdout}  DKIM_SIGNED
 
 TEST NOT SIGNED - USERNAME WRONG PUBKEY
   ${result} =  Scan Message With Rspamc  ${MESSAGE_FAIL}  -u  bob@invalid.za.org
   Check Rspamc  ${result}  DKIM-Signature:  inverse=1
-  Should Not Contain  ${result.stdout}  DKIM_SIGNED (1.00)
+  Should Not Contain  ${result.stdout}  DKIM_SIGNED
 
 *** Keywords ***
 DKIM Signing Setup
index 891e7138515917cbb31ff5848b2d44948ae53ec8..e87749a0a3816faf646b1b8704890250856f92f2 100644 (file)
@@ -16,12 +16,12 @@ ${URL_TLD}      ${TESTDIR}/../lua/unit/test_tld.dat
 TEST SIGNED
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -u  bob@cacophony.za.org
   Check Rspamc  ${result}  DKIM-Signature:
-  Should Contain  ${result.stdout}  DKIM_SIGNED (1.00)
+  Should Contain  ${result.stdout}  DKIM_SIGNED
 
 TEST NOT SIGNED - USERNAME WRONG DOMAIN
   ${result} =  Scan Message With Rspamc  ${MESSAGE}  -u  bob@example.tk
   Check Rspamc  ${result}  DKIM-Signature:  inverse=1
-  Should Not Contain  ${result.stdout}  DKIM_SIGNED (1.00)
+  Should Not Contain  ${result.stdout}  DKIM_SIGNED
 
 *** Keywords ***
 DKIM Signing Setup