Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running make test #36

Open
joaomg opened this issue Feb 14, 2021 · 0 comments
Open

Error running make test #36

joaomg opened this issue Feb 14, 2021 · 0 comments

Comments

@joaomg
Copy link

joaomg commented Feb 14, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant