mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-31 09:55:55 +00:00
Remove remove_hash_from_status
This causes too many problems and forces us to weaken further assumptions. Better to write separate migration tests, but I don't care.
This commit is contained in:
parent
f7c2aa5f81
commit
95c6be6aee
1 changed files with 0 additions and 9 deletions
|
|
@ -474,15 +474,6 @@ class SyncMachine(RuleBasedStateMachine):
|
|||
def delete(self, storage, href):
|
||||
assume(storage.items.pop(href, None))
|
||||
|
||||
@rule(status=Status, delete_from_b=st.booleans())
|
||||
def remove_hash_from_status(self, status, delete_from_b):
|
||||
assume(status)
|
||||
for a, b in status.values():
|
||||
if delete_from_b:
|
||||
a = b
|
||||
assume('hash' in a)
|
||||
del a['hash']
|
||||
|
||||
@rule(
|
||||
status=Status,
|
||||
a=Storage, b=Storage,
|
||||
|
|
|
|||
Loading…
Reference in a new issue