MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_create_basic

Method test_create_basic

tests/utils/test_statistics.py:129–141  ·  view source on GitHub ↗

Test creating basic PipelineStats.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls 1

PipelineStatsClass · 0.90

Tested by

no test coverage detected