def test_config_type_float():
    assert config_type("1.75") == 1.75
def test_config_type_int():
    assert config_type("1") == 1
def test_config_type_bool():
    assert config_type("True")
Exemple #4
0
def test_config_type_float():
    assert config_type('1.75') == 1.75
Exemple #5
0
def test_config_type_int():
    assert config_type('1') == 1
Exemple #6
0
def test_config_type_bool():
    assert config_type('True')