Test creating basic PipelineStats.
(self)
| 127 | """Tests for PipelineStats dataclass.""" |
| 128 | |
| 129 | def test_create_basic(self): |
| 130 | """Test creating basic PipelineStats.""" |
| 131 | stats = PipelineStats( |
| 132 | start_time=time.time(), |
| 133 | end_time=time.time() + 10, |
| 134 | total_input=1000, |
| 135 | total_output=900, |
| 136 | total_rejected=100, |
| 137 | total_rewritten=50, |
| 138 | ) |
| 139 | |
| 140 | assert stats.total_input == 1000 |
| 141 | assert stats.total_output == 900 |
| 142 | |
| 143 | def test_execution_time_property(self): |
| 144 | """Test execution_time property.""" |
nothing calls this directly
no test coverage detected