9e0084b Fix krbtpolicy tests

1 file Authored by rharwood 3 years ago, Committed by rcritten 3 years ago,
    Fix krbtpolicy tests
    
    0d67180f7d2d0c6b5856db7061c44521f6a13c23 introduced the with_admin
    fixture using class scope, which caused test failures as pytest
    instantiated it before the multihost fixture.
    
    It additionally failed to account for jitter - the issued ticket becomes
    within a window of the expected lifetime, so we need to include the
    ticket lifetime jitter into that calculation.
    
    Finally, the PKINIT test could not have ever worked because PKINIT is
    not set up as part of policy testing.
    
    Related: https://pagure.io/freeipa/issue/8590
    
    Also-authored-by: Rob Crittenden <rcritten@redhat.com>
    Signed-off-by: Robbie Harwood <rharwood@redhat.com>
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>