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
Flask support for factories #60
Conversation
I'm not sure, but I didn't manage to run the tests successfully on your PR. Did you succeed? |
It might be probably related to other issue, you might have packages not compatible. You should purge your environment and install again. The other option is to use tox SKIPPED: py37: InterpreterNotFound: python3.7
py38: commands succeeded
SKIPPED: py39: InterpreterNotFound: python3.9
SKIPPED: py310: InterpreterNotFound: python3.10
pylint: commands succeeded
ERROR: pyright: commands failed
black: commands succeeded
docs: commands succeeded Which is related to this other issue: I will try to see how to fix that. |
I submitted the pyright issue on |
I can't reproduce a working tox run for py38:
It's the same error as on py39 and py310. |
It is due to the addition of `E ModuleNotFoundError: No module named 'pytest_cases'` The solution is to ask tox to create new environments using the modified
|
The linked issue is solved. So if you just run |
@marcvs, firendly reminder for the PR 😃 |
Some tests fail when using the
With the following log:
|
Thanks for the ping, so I did not expect to run tests using an I shoud use rather To do so I had to mock If errors persist let me know. |
You are right, using an |
right... my bad BTW, I get |
Hm you're right... It comes from here: Lines 131 to 137 in 44b4c7c
The eduperson_scoped_affiliation is a multivalued attribute (see spec). |
Aaaaa I see, my token did not had "eduperson_scoped_affiliation". Replacing that by for example "eduperson_assurance" (or any other available field) solves the error. With that solved I was able to test with |
v1.1.0 released |
The following pull request changes and fixes the following:
RuntimeError: Working outside of application context.
when using flask factories.