MCPcopy Create free account
hub / github.com/cdgriffith/Box / _frozen_check

Function _frozen_check

test/test_audit_sync.py:303–309  ·  view source on GitHub ↗
(source, operation)

Source from the content-addressed store, hash-verified

301
302
303def _frozen_check(source, operation):
304 bl = source()
305 before = bl.to_list()
306 with pytest.raises(BoxError):
307 operation(bl)
308 assert bl.to_list() == before
309 check_comments(bl, ALL)
310
311
312@pytest.mark.parametrize("source", FROZEN_SOURCES)

Calls 3

sourceFunction · 0.85
check_commentsFunction · 0.85
to_listMethod · 0.80

Tested by

no test coverage detected