

def _destroy_test_db(self, *args, **kw):
    if getattr(self, '_had_test_stubs', False):
        stub_manager.deactivate_test_stubs()
        stub_manager.setup_stubs(self.connection)
        del self._had_test_stubs

dataset/ETHPy150Open django-nonrel/djangoappengine/djangoappengine/db/creation.py DatabaseCreation._destroy_test_db/original