Test creating basic DatasetStats.
(self)
| 103 | """Tests for DatasetStats dataclass.""" |
| 104 | |
| 105 | def test_create_basic(self): |
| 106 | """Test creating basic DatasetStats.""" |
| 107 | stats = DatasetStats( |
| 108 | path="/data/test.json", |
| 109 | source="TestSource", |
| 110 | total_count=1000, |
| 111 | rejected_count=100, |
| 112 | ) |
| 113 | |
| 114 | assert stats.path == "/data/test.json" |
| 115 | assert stats.total_count == 1000 |
| 116 | |
| 117 | def test_kept_count_property(self): |
| 118 | """Test kept_count property.""" |
nothing calls this directly
no test coverage detected