assert response ok

This commit is contained in:
Damien Elmes 2009-06-10 22:33:20 +09:00
parent 261c70b8c2
commit 28f6df93cb

View file

@ -992,6 +992,7 @@ and cards.id in %s""" % ids2str([c[0] for c in cards])))
os.close(fd)
errcode, errmsg, headers = h.getreply()
assert errcode == 200
assert h.file.read() == "OK"
finally:
runHook("fullSyncFinished")