mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
8 lines
251 B
Python
8 lines
251 B
Python
def normalize_item(x):
|
|
return set(x for x in x.raw.splitlines() if
|
|
not x.startswith('X-RADICALE-NAME') and
|
|
not x.startswith('PRODID'))
|
|
|
|
|
|
def assert_item_equals(a, b):
|
|
assert normalize_item(a) == normalize_item(b)
|