

def _create_test_db(self, *args, **kw):
    self._had_test_stubs = (stub_manager.active_stubs != 'test')
    if self._had_test_stubs:
        stub_manager.activate_test_stubs(self.connection)

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