960c6bf ipatests: Add support for extra roles referenced by a keyword

6 files Authored by tbabej 10 years ago, Committed by pviktori 10 years ago,
    ipatests: Add support for extra roles referenced by a keyword
    
    Adds support for host definition by a environment variables of the
    following form:
    
    ROLE_<keyword>_envX, where X is the number of the environment
    for which host referenced by a role <keyword> should be defined.
    
    Adds a required_extra_roles attribute to the IntegrationTest class,
    which can test developer use to specify the extra roles that this
    particular test requires. If not all required extra roles are
    available, the test will be skipped.
    
    All extra (and static) roles are accessible to the IntegrationTests
    via the host_by_role method, which returns a host of given role.
    
    Part of: https://fedorahosted.org/freeipa/ticket/3833
    
        
file modified
+17 -2