

def tearDown(self):
    docs = deepcopy(self.docs)
    self.migration.source_db.delete_docs(self)
    self.migration.target_db.delete_docs(_get_non_design_docs(self.migration.target_db))

dataset/ETHPy150Open dimagi/commcare-hq/corehq/doctypemigrations/tests.py TestDocTypeMigrations.tearDown/VarMisuse@27/31 `docs`->`self`