def test_sync_log_invalidation_bug(self): sync_log = FormProcessorInterface().sync_log_model(user_id="6dac4940-913e-11e0-9d4b-005056aa7fb5") sync_log.save() self.addCleanup(FormProcessorTestUtils.delete_all_sync_logs) _, case = self._doCreateCaseWithMultimedia() # this used to fail before we fixed http://manage.dimagi.com/default.asp?158373 self._doSubmitUpdateWithMultimedia(new_attachments=["commcare_logo_file"], removes=[], sync_token=sync_log._id)
def test_sync_log_invalidation_bug(self): sync_log = FormProcessorInterface().sync_log_model( user_id='6dac4940-913e-11e0-9d4b-005056aa7fb5' ) sync_log.save() self.addCleanup(FormProcessorTestUtils.delete_all_sync_logs) _, case = self._doCreateCaseWithMultimedia() # this used to fail before we fixed http://manage.dimagi.com/default.asp?158373 self._doSubmitUpdateWithMultimedia(new_attachments=['commcare_logo_file'], removes=[], sync_token=sync_log._id)