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