MCPcopy Create free account
hub / github.com/StackStorm/st2 / _drop_db

Method _drop_db

st2tests/st2tests/base.py:269–276  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

267
268 @classmethod
269 def _drop_db(cls):
270 cls._drop_collections()
271
272 if cls.db_connection is not None:
273 cls.db_connection.drop_database(cfg.CONF.database.db_name)
274
275 db_teardown()
276 cls.db_connection = None
277
278 @classmethod
279 def _drop_collections(cls):

Callers 1

tearDownClassMethod · 0.80

Calls 2

db_teardownFunction · 0.90
_drop_collectionsMethod · 0.80

Tested by

no test coverage detected