Example #1
0
def test_port_detail_name(provider, appliance):
    """ Test equality of quadicon and detail names """
    port_collection = NetworkPortCollection(appliance)
    ports = port_collection.all()
    if len(ports) > 5:
        ports = ports[:5]
    for port in ports:
        try:
            view = navigate_to(port, 'Details')
            det_name = view.entities.properties.get_text_of('Name')
            assert port.name == det_name
        except ManyEntitiesFound:
            pass
Example #2
0
def test_sdn_port_detail_name(provider, appliance):
    """ Test equality of quadicon and detail names """
    port_collection = NetworkPortCollection(appliance)
    ports = port_collection.all()
    if len(ports) > 5:
        ports = ports[:5]
    for port in ports:
        try:
            view = navigate_to(port, 'Details')
            det_name = view.entities.properties.get_text_of('Name')
            assert port.name == det_name
        except ManyEntitiesFound:
            pass
Example #3
0
def test_sdn_port_detail_name(provider, appliance):
    """ Test equality of quadicon and detail names

    Metadata:
        test_flag: sdn

    Polarion:
        assignee: mmojzis
        initialEstimate: 1/4h
    """
    port_collection = NetworkPortCollection(appliance)
    ports = port_collection.all()
    if len(ports) > 5:
        ports = ports[:5]
    for port in ports:
        try:
            view = navigate_to(port, 'Details')
            det_name = view.entities.properties.get_text_of('Name')
            assert port.name == det_name
        except ManyEntitiesFound:
            pass
Example #4
0
def test_sdn_port_detail_name(provider, appliance):
    """ Test equality of quadicon and detail names

    Metadata:
        test_flag: sdn

    Polarion:
        assignee: mmojzis
        casecomponent: WebUI
        initialEstimate: 1/4h
    """
    port_collection = NetworkPortCollection(appliance)
    ports = port_collection.all()
    if len(ports) > 5:
        ports = ports[:5]
    for port in ports:
        try:
            view = navigate_to(port, 'Details')
            det_name = view.entities.properties.get_text_of('Name')
            assert port.name == det_name
        except ManyEntitiesFound:
            pass
Example #5
0
 def ports(self):
     return NetworkPortCollection(self.appliance, parent_provider=self)
Example #6
0
 def ports(self):
     return NetworkPortCollection(parent_provider=self)