Test creating state.
(self)
| 265 | """Tests for ToolExecutionState model.""" |
| 266 | |
| 267 | def test_create(self): |
| 268 | """Test creating state.""" |
| 269 | state = ToolExecutionState(name="sqrt", arguments={"x": 18}, start_time=1000.0) |
| 270 | assert state.name == "sqrt" |
| 271 | assert state.start_time == 1000.0 |
| 272 | assert state.completed is False |
| 273 | |
| 274 | def test_elapsed_time(self): |
| 275 | """Test elapsed_time calculation.""" |
nothing calls this directly
no test coverage detected