Merge "Destroy fixture database after each gabbi TestSuite"
This commit is contained in:
commit
b2871217fe
@ -74,7 +74,8 @@ class ConfigFixture(fixture.GabbiFixture):
|
|||||||
conf.set_override('pecan_debug', True, group='api')
|
conf.set_override('pecan_debug', True, group='api')
|
||||||
|
|
||||||
def stop_fixture(self):
|
def stop_fixture(self):
|
||||||
"""Clean up the config."""
|
"""Reset the config and remove data."""
|
||||||
|
storage.get_connection_from_config(self.conf).clear()
|
||||||
self.conf.reset()
|
self.conf.reset()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user