def test_choice_setting():
    setting = soc.ChoiceSetting('foo', ['bar', 'baz'], soc.String)
    assert (setting.name == 'foo')
    setting.value = 'baz'
    assert (setting.value == 'baz')
def test_choice_setting():
    setting = soc.ChoiceSetting('foo', ['bar', 'baz'], soc.String)
    assert (setting.name == 'foo')
    setting.value = 'baz'
    assert (setting.value == 'baz')