d9f33b7 ipatests: add negative test for otptoken-sync

1 file Authored by frenaud 2 years ago, Committed by rcritten 2 years ago,
    ipatests: add negative test for otptoken-sync
    
    Scenario:  call ipa otptoken-sync with
    - an invalid password
    - an invalid first token (containing non-digits)
    - an invalid sequence of tokens
    
    The test expects a return code = 1.
    
    Related: https://pagure.io/freeipa/issue/9248
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>