Skip to content

SPDX rdf tests pass automatically #3448

Closed
@armintaenzertng

Description

@armintaenzertng

Description

The SPDX rdf tests currently pass automatically. This is due to this line in the code, which basically sets expected == result per default.
The bug can be fixed by removing the linked line.

As almost all spdx tests are skipped via the @pytest.mark.scanslow annotation, this does not affect most of the tests.
However, if you remove these annotations they will fail with the above fix.

When upgrading the spdx-tools to the new 0.8 version, these test have to be slightly adapted, anyway. I can offer to do this while working on the library upgrade.

How To Reproduce

Remove this line in the code and execute for example this test (you have to remove the annotation first).

System configuration

Ubuntu 22.04.2 LTS, Scancode 32.0.5rc3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions