def test_is_link_aggregation_not_supported(self): port = UnityIpPort('spa_eth6', cli=t_rest("4.0")) assert_that(port.is_link_aggregation(), equal_to(False))
def test_is_link_aggregation(self): port = UnityIpPort('spa_eth3', cli=t_rest()) assert_that(port.is_link_aggregation(), equal_to(False)) port = UnityIpPort('spa_la_2', cli=t_rest()) assert_that(port.is_link_aggregation(), equal_to(True))