()
| 68 | |
| 69 | |
| 70 | def test_dot_separated_fields(): |
| 71 | # this should just work and provide the named value |
| 72 | res = parse.parse("{hello.world}_{jojo.foo.baz}_{simple}", "a_b_c") |
| 73 | assert res.named["hello.world"] == "a" |
| 74 | assert res.named["jojo.foo.baz"] == "b" |
| 75 | assert res.named["simple"] == "c" |
| 76 | |
| 77 | |
| 78 | def test_dict_style_fields(): |