()
| 97 | |
| 98 | |
| 99 | def test_output_socket_mapping(): |
| 100 | # {state_field: output_socket_name} |
| 101 | writes = {"bar": "output_1"} |
| 102 | |
| 103 | haction = HaystackAction( |
| 104 | component=MockComponent(required_init="init"), name="mock", reads=[], writes=writes |
| 105 | ) |
| 106 | |
| 107 | assert haction.writes == list(writes.keys()) == ["bar"] |
| 108 | |
| 109 | |
| 110 | def test_output_socket_sequence(): |
nothing calls this directly
no test coverage detected