Skip to content

Error when capture_source is enabled and test_start is None #1279

@maxim-arcsec

Description

@maxim-arcsec

Hi, ran into and issue when enabling capture_source.

if CONF.capture_source:
trigger.code_info = htf_test_record.CodeInfo.for_function(trigger.func)

When capture_source is enabled and no test_start is given, it tries to get the func attribute on a None value.

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