diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-07-31 15:52:29 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-07-31 16:02:42 +0200 |
commit | bd925cbcbe16cf9f088cc3b187a052095c5760db (patch) | |
tree | 21767656588e3a72ae0b581fbc8c22f8b84794ed /test | |
parent | 17f7015829b1fa71dc51e8904bdc25bab87e1420 (diff) | |
download | rspamd-bd925cbcbe16cf9f088cc3b187a052095c5760db.tar.gz rspamd-bd925cbcbe16cf9f088cc3b187a052095c5760db.zip |
[Test] Some minor fixes for tests
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/101_lua.robot | 2 | ||||
-rw-r--r-- | test/functional/cases/102_maps.robot | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/101_lua.robot b/test/functional/cases/101_lua.robot index 5e5dff6c8..81c08ceee 100644 --- a/test/functional/cases/101_lua.robot +++ b/test/functional/cases/101_lua.robot @@ -26,7 +26,7 @@ Pre and Post Filters [Setup] Lua Setup ${TESTDIR}/lua/prepostfilters.lua ${result} = Scan Message With Rspamc ${MESSAGE} Check Rspamc ${result} TEST_PRE - Check Rspamc ${result} TEST_POST rc_nocheck=1 + Should Contain ${result.stdout} TEST_POST *** Keywords *** Lua Setup diff --git a/test/functional/cases/102_maps.robot b/test/functional/cases/102_maps.robot index 4744335f8..03291a49f 100644 --- a/test/functional/cases/102_maps.robot +++ b/test/functional/cases/102_maps.robot @@ -68,7 +68,7 @@ MAP - DEPENDS HIT MAP - DEPENDS MISS ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1 --from user123@microsoft.com - Check Rspamc ${result} DEPS_MAP inverse=1 rc_nocheck=1 + Check Rspamc ${result} DEPS_MAP inverse=1 rc_noinverse=1 MAP - MULSYM PLAIN ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user1@example.com @@ -96,4 +96,4 @@ MAP - UTF MAP - UTF MISS ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} HEADER_MAP inverse=1 rc_nocheck=1
\ No newline at end of file + Check Rspamc ${result} HEADER_MAP inverse=1 rc_noinverse=1 |