def reset_db_and_disk(self):
        self.env.reset_db()
        self.env.shutdown() # really closes the db connections
        shutil.rmtree(self.env.path)
        if self._old_registry is not None:
            self.restore_component_registry()

    # other utilities
Test PROJ.4 import and export.
dataset/ETHPy150Open edgewall/trac/trac/test.py/EnvironmentStub.reset_db_and_disk--crossover with--dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test04_proj