Script for the transfer of data from Mongo to SQL (#80)

This commit is contained in:
2023-09-11 20:21:35 +02:00
committed by GitHub
parent 2ea99c8c17
commit d64f53eca9
22 changed files with 1565 additions and 73 deletions

View File

@ -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"

View File

@ -1,4 +1,8 @@
def test_import() -> None:
from aki_prj23_transparenzregister.utils.sql import entities
"""Tests for the sql entities."""
from aki_prj23_transparenzregister.utils.sql import entities
def test_import() -> None: #
"""Tests if the entities can be imported."""
assert entities