Skip to content

Error running make test #36

@joaomg

Description

@joaomg

When running make test I get various errors.

In the first test there's an error when calling jwt.decode, apparently algorithms is now a mandatory parameter.

    def test___check___on_new_user_is_called(self):
        profile = dict(id='test', name='name', email='test@mail.com')
        token = module._get_token_from_profile('test_provider', profile, self.private_key)
>       user_profile = jwt.decode(token, self.private_key)
...
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().

I'm using PyJWT 2.0.1. Installed running make install.

Should I downgrade to a specific PyJWT version?

Attached the make test output.

Thank you,

João
make_test.log

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