def METHOD_NAME(self):
    """Basic attach/detach and UL TCP ipv6 data test with a single UE"""
    num_ues = 1
    magma_apn = {
        "apn_name": "magma",  # APN-name
        "qci": 9,  # qci
        "priority": 15,  # priority
        "pre_cap": 1,  # preemption-capability
        "pre_vul": 0,  # preemption-vulnerability
        "mbr_ul": 200000000,  # MBR UL
        "mbr_dl": 100000000,  # MBR DL
        "pdn_type": 1,  # PDN Type 0-IPv4,1-IPv6,2-IPv4v6
    }
    wait_for_s1 = True
    ue_ips = ["fdee::"]
    apn_list = [magma_apn]
    self._s1ap_wrapper.configUEDevice(num_ues, [], ue_ips)
    req = self._s1ap_wrapper.ue_req
    ue_id = req.ue_id
    print(
        "************************* Running End to End attach for ",
        "UE id ",
        req.ue_id,
    )
    self._s1ap_wrapper.configAPN(
        "IMSI" + "".join([str(j) for j in req.imsi]),
        apn_list,
        default=False,
    )
    # Now actually complete the attach
    self._s1ap_wrapper.s1_util.attach(
        ue_id,
        s1ap_types.tfwCmd.UE_END_TO_END_ATTACH_REQUEST,
        s1ap_types.tfwCmd.UE_ATTACH_ACCEPT_IND,
        s1ap_types.ueAttachAccept_t,
        pdn_type=2,
    )
    # Wait on EMM Information from MME
    self._s1ap_wrapper._s1_util.receive_emm_info()
    # Receive Router Advertisement message
    apn = "magma"
    response = self._s1ap_wrapper.s1_util.get_response()
    assert response.msg_type == s1ap_types.tfwCmd.UE_ROUTER_ADV_IND.value
    router_adv = response.cast(s1ap_types.ueRouterAdv_t)
    print(
        "********** Received Router Advertisement for APN-%s"
        " bearer id-%d" % (apn, router_adv.bearerId),
    )
    ipv6_addr = "".join([chr(i) for i in router_adv.ipv6Addr]).rstrip(
        "\x00",
    )
    print("********** UE IPv6 address: ", ipv6_addr)
    ipaddress.ip_address(ipv6_addr)
    self._s1ap_wrapper.s1_util.update_ipv6_address(ue_id, ipv6_addr)
    print("Sleeping for 5 secs")
    time.sleep(5)
    print(
        "************************* Running UE uplink (TCP) for UE id ",
        req.ue_id,
    )
    with self._s1ap_wrapper.configUplinkTest(req, duration=1) as test:
        test.verify()
    print(
        "************************* Running UE detach for UE id ",
        req.ue_id,
    )
    # Now detach the UE
    self._s1ap_wrapper.s1_util.detach(
        req.ue_id,
        s1ap_types.ueDetachType_t.UE_NORMAL_DETACH.value,
        wait_for_s1,
    )