mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Also test case where everything is *really* synced.
This commit is contained in:
parent
f758e6d6d8
commit
745afbe5a3
1 changed files with 5 additions and 3 deletions
|
|
@ -116,9 +116,11 @@ def test_already_synced():
|
||||||
old_status = dict(status)
|
old_status = dict(status)
|
||||||
a.update = b.update = a.upload = b.upload = \
|
a.update = b.update = a.upload = b.upload = \
|
||||||
lambda *a, **kw: pytest.fail('Method shouldn\'t have been called.')
|
lambda *a, **kw: pytest.fail('Method shouldn\'t have been called.')
|
||||||
sync(a, b, status)
|
|
||||||
assert status == old_status
|
for i in (1, 2):
|
||||||
assert a.has('1.txt') and b.has('1.txt')
|
sync(a, b, status)
|
||||||
|
assert status == old_status
|
||||||
|
assert a.has('1.txt') and b.has('1.txt')
|
||||||
|
|
||||||
|
|
||||||
def test_conflict_resolution_both_etags_new():
|
def test_conflict_resolution_both_etags_new():
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue