From eb1485d99f1a107b96006c86851fb2efb912f59a Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 12 Sep 2015 16:41:15 +0200 Subject: [PATCH] Fix test --- tests/test_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sync.py b/tests/test_sync.py index 60c6192..6ea36b6 100644 --- a/tests/test_sync.py +++ b/tests/test_sync.py @@ -8,7 +8,7 @@ from vdirsyncer.storage.memory import MemoryStorage from vdirsyncer.sync import BothReadOnly, IdentConflict, StorageEmpty, \ SyncConflict, sync -from . import assert_item_equals, blow_up, normalize_item +from . import assert_item_equals, blow_up def empty_storage(x): @@ -138,7 +138,7 @@ def test_conflict_resolution_both_etags_new(winning_storage): item_a, _ = a.get(href_a) item_b, _ = b.get(href_b) assert_item_equals(item_a, item_b) - n = normalize_item(item_a) + n = item_a.raw.splitlines() assert u'UID:1' in n assert u'item {}'.format(winning_storage) in n