Skip to content

get_allure_attachment_type_from_content_type can return None #17

Description

@Slaaayer

Some generated attachments remain with their default .attach extension and therefore generate the following warning:

WARNING: Unsupported extension: attach (file:/ed91ab39fb32bf08.attach)

This is due to the fact of not having any fallback mechanism in get_allure_attachment_type_from_content_type in case the content type wasn't found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions