Test: Database
Module for creating a connection to SQLite DB
and SQLAlchemy declarative base home.
-
class
frostmark.tests.test_database.
DBBaseTestCase
(methodName='runTest')[source]
TestCase for SQLite database backend.
-
test_db_base
()[source]
Test all variables, locations, files for creating DB base.
-
test_db_create
()[source]
Test creating SQLite3 DB only (without tables)
in the user_data section.
-
test_db_session
()[source]
Test getting session for SQLite DB which passively creates a new
DB (new .sqlite file) if it isn’t present yet.