mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 10:03:54 +02:00
Script for the transfer of data from Mongo to SQL (#80)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
"""Tests the sql connector."""
|
||||
import os.path
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
@ -16,6 +17,7 @@ from aki_prj23_transparenzregister.utils.sql.connector import (
|
||||
|
||||
|
||||
def test_get_engine_pg() -> None:
|
||||
"""Tests the creation of a postgre engine."""
|
||||
conn_args = PostgreConnectionString("", "", "", "", 42)
|
||||
with patch(
|
||||
"aki_prj23_transparenzregister.utils.sql.connector.sa.create_engine"
|
||||
|
Reference in New Issue
Block a user