diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-12 11:48:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-12 11:48:07 +0000 |
commit | 29e1d556d9f0f7061aabfe93122cafb5450c75c3 (patch) | |
tree | e482056f330135c200a558b1f092135b6f50fc8b /test | |
parent | ebe9a34471e0676b5d7a222bab946edab099dd41 (diff) | |
download | rspamd-29e1d556d9f0f7061aabfe93122cafb5450c75c3.tar.gz rspamd-29e1d556d9f0f7061aabfe93122cafb5450c75c3.zip |
[Test] Fix broken tests
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/103_password.robot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/cases/103_password.robot b/test/functional/cases/103_password.robot index 2ae6dec8f..c750369bf 100644 --- a/test/functional/cases/103_password.robot +++ b/test/functional/cases/103_password.robot @@ -20,7 +20,7 @@ PASSWORD - PBKDF PASSWORD - PBKDF WRONG [Setup] Password Setup ${PBKDF_PASSWORD} ${result} = Run Rspamc -h ${LOCAL_ADDR}:${PORT_CONTROLLER} -P q1q1 stat - Check Rspamc ${result} Unauthorized + Should Be Equal As Integers ${result.rc} 1 PASSWORD - CATENA [Setup] Password Setup ${CATENA_PASSWORD} @@ -30,7 +30,7 @@ PASSWORD - CATENA PASSWORD - CATENA WRONG [Setup] Password Setup ${CATENA_PASSWORD} ${result} = Run Rspamc -h ${LOCAL_ADDR}:${PORT_CONTROLLER} -P q stat - Check Rspamc ${result} Unauthorized + Should Be Equal As Integers ${result.rc} 1 PASSWORD - ENABLE [Setup] Password Setup ${CATENA_PASSWORD} @@ -40,12 +40,12 @@ PASSWORD - ENABLE PASSWORD - ENABLE WITH NORMAL [Setup] Password Setup ${CATENA_PASSWORD} ${result} = Run Rspamc -h ${LOCAL_ADDR}:${PORT_CONTROLLER} -P nq1 stat_reset - Check Rspamc ${result} Unauthorized + Should Be Equal As Integers ${result.rc} 1 PASSWORD - ENABLE INCORRECT [Setup] Password Setup ${CATENA_PASSWORD} ${result} = Run Rspamc -h ${LOCAL_ADDR}:${PORT_CONTROLLER} -P q2q2 stat_reset - Check Rspamc ${result} Unauthorized + Should Be Equal As Integers ${result.rc} 1 *** Keywords *** Password Setup |