bb628ae ipatests: Fix TestAJPSecretUpgrade tests on systems without pkiuser

1 file Authored by slev 2 years ago, Committed by rcritten 2 years ago,
    ipatests: Fix TestAJPSecretUpgrade tests on systems without pkiuser
    
    Tests in `test_ipaserver.test_secure_ajp_connector' assume that there
    is pkiuser in OS, but this is not always true (for example, in systems
    having minimum installed dependencies, in particular, without pki-server
    RPM package). Since the tests already use the mock and pkiuser entity is
    not the subject of testing the pwd.getpwnam has been mocked.
    
    Fixes: https://pagure.io/freeipa/issue/8942
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>