MCPcopy
hub / github.com/pimutils/vdirsyncer / sanity_check

Method sanity_check

tests/unit/utils/test_vobject.py:332–334  ·  view source on GitHub ↗
(self, c)

Source from the content-addressed store, hash-verified

330
331 @rule(c=Parsed)
332 def sanity_check(self, c):
333 c1 = vobject._Component.parse(c.dump_lines())
334 assert c1 == c
335
336
337TestVobjectMachine = VobjectMachine.TestCase

Callers

nothing calls this directly

Calls 2

dump_linesMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected