def test_inv021_send_and_confirm(self):
        user = "admin"
        method = "search"
        send_data = [("site_id",
                 "Timor-Leste Red Cross Society (CVTL) National Warehouse (Warehouse)",
                ),
                 ("type",
                  "Internal Shipment",
                 ),
                ("to_site_id",
                 "Lori (Facility)",
                ),
                ("sender_id",
                 "Beatriz de Carvalho",
                ),
               ]
        item_data = [
                     [("send_inv_item_id",
                       "Blankets - Australian Red Cross",
                       "inv_widget",
                      ),
                      ("quantity",
                       "6",
                      ),
                     ],
                     [("send_inv_item_id",
                       "Jerry Cans - Australian Red Cross",
                       "inv_widget",
                      ),
                      ("quantity",
                       "3",
                      ),
                     ],
                     [("send_inv_item_id",
                       "Kitchen Sets - Australian Red Cross",
                       "inv_widget",
                      ),
                      ("quantity",
                       "2",
                      ),
                     ]
                    ]
        # Create the send record
        send_result = self.send(user, send_data)
        send_id = self.send_get_id(send_result)
        send_ref= self.send_get_ref(send_result)
        # Add the items to the send record
        for data in item_data:
            item_result = self.track_send_item(user, send_id, data)
        # Send the shipment
        self.send_shipment(user, send_id)
        # Confirm Receipt of the shipment
        self.confirm_received_shipment(user, send_id)
# END =========================================================================
Test to send a shipment and confirm that it is receive outside of the system
dataset/ETHPy150Open sahana/eden/modules/tests/inv/send_receive_item.py/SendReceiveItem.test_inv021_send_and_confirm