MCPcopy Create free account
hub / github.com/celery/celery / remove_db

Method remove_db

t/unit/backends/test_database.py:1482–1485  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1480
1481 @pytest.fixture(autouse=True)
1482 def remove_db(self):
1483 yield
1484 if os.path.exists(DB_PATH):
1485 os.remove(DB_PATH)
1486
1487 def setup_method(self):
1488 self.uri = 'sqlite:///' + DB_PATH

Callers

nothing calls this directly

Calls 2

existsMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected