def test_detach_db(): DBManager.detach_db()
def __exit__(self, exc_type, exc_val, exc_tb): DBManager.detach_db()