diff --git a/tests/conf_mysql.py b/tests/conf_mysql.py index b30d431e..a5c365e6 100644 --- a/tests/conf_mysql.py +++ b/tests/conf_mysql.py @@ -67,7 +67,7 @@ def my_conn(request, my_dsn, my_driver): def my_db(my_conn, queries): """Build the test database.""" create_user_blogs(my_conn, queries) - fill_user_blogs(my_conn, "mysql") + fill_user_blogs(my_conn, queries) yield my_conn drop_user_blogs(my_conn, queries) diff --git a/tests/conf_schema.py b/tests/conf_schema.py index d6e9db5b..f359e71d 100644 --- a/tests/conf_schema.py +++ b/tests/conf_schema.py @@ -8,7 +8,7 @@ # yuk… hide sync/async def execute_any(conn, queries, name): - utils.log.warning(f"executing: {name}") + utils.log.debug(f"executing: {name}") f = queries.f(name) if queries.is_async: return utils.run_async(f(conn)) diff --git a/tests/conf_sqlite.py b/tests/conf_sqlite.py index e836c497..bb4d98fd 100644 --- a/tests/conf_sqlite.py +++ b/tests/conf_sqlite.py @@ -6,12 +6,10 @@ @pytest.fixture def li_dbpath(tmpdir): db_path = str(Path(tmpdir.strpath) / "blogdb.db") - utils.log.warning(f"path = {db_path}") yield db_path @pytest.fixture def li_db(rconn, queries): - utils.log.warning("sqlite creating blogdb…") create_user_blogs(rconn, queries) fill_user_blogs(rconn, queries) yield rconn