]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Trying to understand what's up with robot
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 27 Sep 2024 11:32:37 +0000 (12:32 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 27 Sep 2024 11:32:37 +0000 (12:32 +0100)
test/functional/lib/rspamd.robot

index de4e5285f808d6f7fdee007a585e04de9cda3666..68bcb66fb6e9cf0b3933e507a58f6041c48dfb07 100644 (file)
@@ -106,6 +106,8 @@ Expect Added Header
   ...  msg=add_headers block was not present in protocol response
   Dictionary Should Contain Key  ${SCAN_RESULT}[milter][add_headers]  ${header_name}
   ...  msg=${header_name} was not added
+  Dictionary Should Contain Key  ${SCAN_RESULT}[milter][add_headers][${header_name}]  value
+  ...  msg=no value field in ${header_name} index: ${SCAN_RESULT}[milter][add_headers][${header_name}]
   Should Be Equal  ${SCAN_RESULT}[milter][add_headers][${header_name}][value]  ${header_value}
   Should Be Equal as Numbers  ${SCAN_RESULT}[milter][add_headers][${header_name}][order]  ${pos}