def test_parse_global_option(): assert parse_ini_string("global_option=true") == { None: { 'global_option': 'true' } }
def test_parse_global_option_without_value_and_equal(): assert parse_ini_string("global_option=") == {None: {'global_option': ""}}
def assertParse(ini_string, expected): assert parse_ini_string(ini_string) == expected