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

Method test_mark_kept

tests/operators/test_data_item.py:292–296  ·  view source on GitHub ↗

Test mark_kept clears rejected flag.

(self, item)

Source from the content-addressed store, hash-verified

290 assert item.is_rejected
291
292 def test_mark_kept(self, item):
293 """Test mark_kept clears rejected flag."""
294 item.mark_rejected()
295 item.mark_kept()
296 assert not item.is_rejected
297
298 def test_add_filter_record(self, item):
299 """Test add_filter_record adds record."""

Callers

nothing calls this directly

Calls 2

mark_rejectedMethod · 0.80
mark_keptMethod · 0.80

Tested by

no test coverage detected