383bdbe tests: Reduce failover code duplication

1 file Authored by jhrozek 8 years ago, Committed by lslebodn 8 years ago,
    tests: Reduce failover code duplication
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    (cherry picked from commit 4a4af8e1b6a9bab7c7a34d86055a400376e3829e)
    
        
file modified
+35 -53