From d0e3e1792fe24cfc7d2e8e44f029222fe0a9cbe9 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 29 Mar 2021 13:25:25 +0200 Subject: [PATCH] Added db context handling --- src/tests/custom/database/src/model/db_context.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/tests/custom/database/src/model/db_context.py diff --git a/src/tests/custom/database/src/model/db_context.py b/src/tests/custom/database/src/model/db_context.py new file mode 100644 index 00000000..160ed8b4 --- /dev/null +++ b/src/tests/custom/database/src/model/db_context.py @@ -0,0 +1,8 @@ +from cpl.database import DatabaseSettings +from cpl.database.context import DatabaseContext + + +class DBContext(DatabaseContext): + + def __init__(self, db_settings: DatabaseSettings): + DatabaseContext.__init__(self, db_settings)