0e18356 test: Add helpers to fetch active/inactive storage pool by name

Authored and Committed by John Ferlan 6 years ago
    test: Add helpers to fetch active/inactive storage pool by name
    
    Rather than have repetitive code - create/use a couple of helpers:
    
        testStoragePoolObjFindActiveByName
        testStoragePoolObjFindInactiveByName
    
    This will also allow for the reduction of some cleanup path logic.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    
        
file modified
+85 -169