(dbname)
| 263 | |
| 264 | |
| 265 | def create_db(dbname): |
| 266 | with db_connection().cursor() as cur: |
| 267 | try: |
| 268 | cur.execute(f"DROP DATABASE IF EXISTS {TEST_DATABASE}") |
| 269 | cur.execute(f"CREATE DATABASE {TEST_DATABASE}") |
| 270 | except Exception: |
| 271 | pass |
| 272 | |
| 273 | |
| 274 | def run(executor, sql, rows_as_list=True): |
nothing calls this directly
no test coverage detected