from fixture.db import DataBase

db = DataBase(host='127.0.0.1', name='tests', user='root', password='')

p = db.get_tests()
c = db.get_documents(2)
d = db.get_settings(1)
f = db.get_positions(1)
a = db.get_logs_by_test_id(2)
pass