

@with_protocol
def test_description(self, t):
    enable(t)
    configuring_interface(t, 'ethernet 1/g1', do='description "hello WORLD"')
    assert_interface_configuration(t, 'ethernet 1/g1', ["description 'hello WORLD'"])
    configuring_interface(t, 'ethernet 1/g1', do="description 'We dont know yet'")
    assert_interface_configuration(t, 'ethernet 1/g1', ["description 'We dont know yet'"])
    configuring_interface(t, 'ethernet 1/g1', do='description YEEEAH')
    assert_interface_configuration(t, 'ethernet 1/g1', ["description 'YEEEAH'"])
    configuring_interface(self, 'ethernet 1/g1', do='no description')
    assert_interface_configuration(t, 'ethernet 1/g1', [''])

dataset/ETHPy150Open internap/fake-switches/tests/dell/test_configure_interface.py DellConfigureInterfaceTest.test_description/VarMisuse@88/198 `t`->`self`