4a4af8e tests: Reduce failover code duplication

Authored and Committed by jhrozek 8 years ago
    tests: Reduce failover code duplication
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+35 -53