def get_test_by_test_id(test_id, session=None):
    session = session or get_session()
    test = db_utils.model_query(models.Test, session).filter_by(
        test_id=test_id).first()
    return test
The constructor basically works.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_test_by_test_id--crossover with--dataset/ETHPy150Open wal-e/wal-e/tests/test_s3_deleter.py/test_construction