Exemplo n.º 1
0
def test_simple_member_from_str4():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("enum_float"), "1.0") == 1.0
Exemplo n.º 2
0
def test_simple_member_from_str2():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("float_n"), "1.0") == 1.0
Exemplo n.º 3
0
def test_simple_member_from_str3():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("enum"), "a") == "a"
Exemplo n.º 4
0
def test_simple_member_from_str1():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("string"), "a") == "a"
Exemplo n.º 5
0
def test_simple_member_from_str4():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('enum_float'), '1.0') == 1.0
Exemplo n.º 6
0
def test_simple_member_from_str3():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('enum'), 'a') == 'a'
Exemplo n.º 7
0
def test_simple_member_from_str2():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('float_n'), '1.0') == 1.0
Exemplo n.º 8
0
def test_simple_member_from_str1():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('string'), 'a') == 'a'