(value: object)
| 33 | |
| 34 | @pytest.mark.parametrize("value", ["hello", 1], ids=["correct type", "mismatched"]) |
| 35 | def test_basic(value: object) -> None: |
| 36 | m = BasicModel.construct(foo=value) |
| 37 | assert m.foo == value |
| 38 | |
| 39 | |
| 40 | def test_directly_nested_model() -> None: |