serafim / pagure

Forked from pagure 6 years ago
Clone

8db00b2 Fix the unit-tests

Authored and Committed by pingou 6 years ago
    Fix the unit-tests
    
    The logic in the template was using `and` and `or` but the logic in the
    second block of that `or` was trying to access `g.fas_user` which was
    checked before.
    By fixing the logic fixed the tests that triggered off this faulty logic
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>