def get_all_tests(session=None):
    session = session or get_session()
    query = db_utils.model_query(models.Test, session)
    return query.all()
Return all tests from the DB.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_all_tests