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 all variables, locations, files for creating DB base.


Test creating SQLite3 DB only (without tables) in the user_data section.


Test getting session for SQLite DB which passively creates a new DB (new .sqlite file) if it isn’t present yet.