

@with_protocol
def test_spanning_tree(self, t):
    enable(t)
    configuring_interface(t, 'ethernet 1/g1', do='spanning-tree disable')
    configuring_interface(t, 'ethernet 1/g1', do='spanning-tree portfast')
    assert_interface_configuration(t, 'ethernet 1/g1', ['spanning-tree disable', 'spanning-tree portfast'])
    configuring_interface(self, 'ethernet 1/g1', do='no spanning-tree disable')
    configuring_interface(t, 'ethernet 1/g1', do='no spanning-tree portfast')
    assert_interface_configuration(t, 'ethernet 1/g1', [''])

dataset/ETHPy150Open internap/fake-switches/tests/dell/test_configure_interface.py DellConfigureInterfaceTest.test_spanning_tree/VarMisuse@57/121 `t`->`self`