Skip to content

Fix two failing tests on Linux #321

Open
@cclauss

Description

@cclauss

In #318, I had to add @pytest.mark.skipif(sys.platform == "linux", reason="'JSON data' not found") to two tests.

It would be great if someone could modify test/python_magic_test.py to fix these tests and remove the TODO and the skipif lines.

    # TODO: Fix this failing test on Ubuntu
    @pytest.mark.skipif(sys.platform == "linux", reason="'JSON data' not found")
    def test_descriptions(self):
        ...

    # TODO: Fix this failing test on Ubuntu
    @pytest.mark.skipif(sys.platform == "linux", reason="'JSON data' not found")
    def test_descriptions_no_soft(self):
        ...

We will need libmagic1 >= v5.44 #327 (comment)

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