This commit is contained in:
Markus Unterwaditzer 2016-09-26 13:28:57 +02:00
parent 5f76c9e720
commit 30ab52ea4c

View file

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from random import random
from copy import deepcopy from copy import deepcopy
import hypothesis.strategies as st import hypothesis.strategies as st
@ -507,7 +506,7 @@ class SyncMachine(RuleBasedStateMachine):
sync(a, b, status, sync(a, b, status,
force_delete=force_delete, force_delete=force_delete,
conflict_resolution=conflict_resolution) conflict_resolution=conflict_resolution)
except ActionIntentionallyFailed as e: except ActionIntentionallyFailed:
assert status == old_status assert status == old_status
failed_sync = True failed_sync = True
except BothReadOnly: except BothReadOnly: