Test that SubmoduleParamSpec is frozen/immutable
(self)
| 59 | assert spec.schema == {"type": "integer", "minimum": 0} |
| 60 | |
| 61 | def test_frozen(self): |
| 62 | """Test that SubmoduleParamSpec is frozen/immutable""" |
| 63 | spec = SubmoduleParamSpec(name="param1") |
| 64 | with pytest.raises(AttributeError): |
| 65 | spec.name = "new_name" |
| 66 | |
| 67 | |
| 68 | class TestSubmoduleFunctionSpec: |
nothing calls this directly
no test coverage detected