dcallagh / rpmfluff

Forked from rpmfluff 7 years ago
Clone

3a5107c Improve the messages for test assertion failures

1 file Authored by dshea 8 years ago, Committed by jhutar 8 years ago,
1 file changed. 58 lines added. 42 lines removed.
    Improve the messages for test assertion failures
    
    Use unittest.assertTrue with a message instead of assert statements in
    the tests. Rearrange the deprecated assert_ tests to use
    unittest.assertIn.
    
    Use unittest.skipIf instead of simply returning so that the test is
    counted as skipped instead of successful.
    
    Signed-off-by: Jan Hutar <jhutar@redhat.com>
    
        
file modified
+58 -42