Skip to content

Request to add .xlm file support in test data attachment #271

Open

Description

@moms944

Hello,
I would like to know if it's possible to add support for attaching .xml files to the test data in the attachment section, as I need to include the testbench report in that format.

Thanks in advance for your help!

Activity

  1. SchrodingersGat commented on May 13, 2025

    @SchrodingersGat
    Member

    Any file type can be added as an attachment. Not sure what you are asking here?

  2. moms944 commented on May 13, 2025

    @moms944
    Author

    Hello,
    I realize I wasn't clear in my previous message. What I actually want to do is attach .xlm files directly via Python with a generated file, as I need to include the testbench report in that format.

    Thanks in advance for your help!

  3. SchrodingersGat commented on May 14, 2025

    @SchrodingersGat
    Member

    You can add an attachment using the upload_result method.

    def upload_result(cls, api, stock_item, test, result, **kwargs):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions