c4fa656 ipatests: fix for change_principal context manager

1 file Authored by mkubik 8 years ago, Committed by mbasti 8 years ago,
    ipatests: fix for change_principal context manager
    
    The context manager was leaving API object disconnected when
    an exception was raised inside of it. This led to resource leak
    in the tests.
    
    https://fedorahosted.org/freeipa/ticket/5733
    
    Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
    
        
file modified
+10 -9