| 194 | def test_json_casing(): |
| 195 | @dataclass |
| 196 | class CasingTest(betterproto.Message): |
| 197 | pascal_case: int = betterproto.int32_field(1) |
| 198 | camel_case: int = betterproto.int32_field(2) |
| 199 | snake_case: int = betterproto.int32_field(3) |
| 200 | kabob_case: int = betterproto.int32_field(4) |
| 201 | |
| 202 | # Parsing should accept almost any input |
| 203 | test = CasingTest().from_dict( |
no outgoing calls