

def test_copy_docs(self):
    doc_ids = [doc['_id'] for doc in self.docs]
    copy_docs(self.migration.source_db, self.migration.target_db, doc_ids)
    self.assert_in_sync()

dataset/ETHPy150Open dimagi/commcare-hq/corehq/doctypemigrations/tests.py TestDocTypeMigrations.test_copy_docs/original