def test_livequery_to_legacy(self): sync_log = SimplifiedSyncLog(log_format=LOG_FORMAT_LIVEQUERY) with self.assertRaises(IncompatibleSyncLogType): SyncLog.from_other_format(sync_log)
def test_migrate_backwards(self): with self.assertRaises(IncompatibleSyncLogType): SyncLog.from_other_format(SimplifiedSyncLog())