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

Function test_replace_multiline_uid

tests/unit/utils/test_vobject.py:209–213  ·  view source on GitHub ↗
(benchmark)

Source from the content-addressed store, hash-verified

207
208
209def test_replace_multiline_uid(benchmark):
210 def inner():
211 return vobject.Item(complex_uid_item).with_uid('a').uid
212
213 assert benchmark(inner) == 'a'
214
215
216@pytest.mark.parametrize('template', [EVENT_TEMPLATE,

Callers

nothing calls this directly

Calls 1

benchmarkFunction · 0.85

Tested by

no test coverage detected