Add target serialization to first state

This commit is contained in:
lash
2022-03-19 00:59:55 +00:00
parent 5f2809c394
commit 7ff4e8faa0
2 changed files with 7 additions and 13 deletions

View File

@@ -193,13 +193,11 @@ class TestFs(unittest.TestCase):
session = SyncSession(store)
session.start()
logg.debug('list {} {} {}'.format(store.state.list(store.state.SYNC), store.state.list(store.state.DONE), store.state.list(store.state.NEW)))
o = session.get(0)
o.next(advance_block=True)
o.next(advance_block=True)
session.stop(o)
logg.debug('list {} {} {}'.format(store.state.list(store.state.SYNC), store.state.list(store.state.DONE), store.state.list(store.state.NEW)))
store = SyncFsStore(self.path, session_id='foo')
store.start()
o = store.get(2)