tcms.rpc.utils module¶
- tcms.rpc.utils.add_attachment(obj_id, app_model, user, filename, b64content)[source]¶
High-level function which performs the attachment process by constructing an HttpRequest object and passing it to attachments.views.add_attachment() as if it came from the browser.