def test_parser_repeat_variable(): assert secrets.parse("KEY=xxx,KEY=value") == SINGLE_RESULT
def test_parser_invalid_skip(): assert secrets.parse("KEY=value,INVALID") == SINGLE_RESULT
def test_parser_multi(input_string): assert secrets.parse(input_string) == MULTI_RESULT
def test_parser_invalid_pair(): assert secrets.parse("INVALID") == {}
def test_parser_single(input_string): assert secrets.parse(input_string) == SINGLE_RESULT