def create_test_portgroup(**kw):
    portgroup = get_test_portgroup(**kw)
    # Let DB generate ID if it isn't specified explicitly
    if 'id' not in kw:
        del portgroup['id']
    dbapi = db_api.get_instance()
    return dbapi.create_portgroup(portgroup)
Test that raw_random.random_integers generates the same
dataset/ETHPy150Open openstack/ironic/ironic/tests/unit/db/utils.py/create_test_portgroup--crossover with--dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/tests/test_raw_random.py/T_random_function.test_random_integers