def testRemoveMultipleEpisodes(self):
    ep_ph_ids_list = self._UploadMultipleEpisodes(self._cookie, 17)
    vp_id, new_ep_ids = self._tester.ShareNew(self._cookie, ep_ph_ids_list,
                                              [self._user3.user_id])

    # Build list of (ep_id, ph_ids) pairs from subset of uploaded episodes and photos.
    ep_ph_ids_list2 = [(new_ep_id, ph_ids[::3])
                       for new_ep_id, (old_ep_id, ph_ids) in zip(new_ep_ids, ep_ph_ids_list)[::2]]
    self._OldRemovePhotos(self._cookie, ep_ph_ids_list[::3] + ep_ph_ids_list2)
Create a new Connection object with the right adapter.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/old_remove_photos_test.py/OldRemovePhotosTestCase.testRemoveMultipleEpisodes--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/make_connection