def get_test_by_id(id, session=None):
    session = session or get_session()
    test = db_utils.model_query(models.Test, session).filter_by(
        id=id).first()
    return test
Get an individual test by it's uuid.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_test_by_id