-
Notifications
You must be signed in to change notification settings - Fork 27
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
🐛 Fixes registration in multiple products via invitations #5055
🐛 Fixes registration in multiple products via invitations #5055
Conversation
1c44919
to
fa1a06e
Compare
Code Climate has analyzed commit fa1a06e and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5055 +/- ##
========================================
+ Coverage 87.3% 88.2% +0.9%
========================================
Files 1292 1145 -147
Lines 52984 47997 -4987
Branches 1160 1114 -46
========================================
- Hits 46272 42369 -3903
+ Misses 6462 5387 -1075
+ Partials 250 241 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
9690f50
to
bb609a3
Compare
5852b72
to
de40e01
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Have just a few concerns.
packages/pytest-simcore/src/pytest_simcore/helpers/utils_login.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/login/_constants.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/login/_registration.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/login/_registration.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/login/_registration.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/invitations/_db.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for the effort!
91ddcd5
to
29be72b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Hi @pcrespov, I tested a bit. Workflow 1 works as expected (register same user in two products). ✔️ Workflow 2 (fail to register same user in same product ) works as expected. ✔️ Workflow 3 (try to register banned use works) works as expected. ✔️ I also tried a workflow different from the 3 suggested above. 😈 Workflow 4:
Some improvements (for the future), more or less related to this PR, sorry for bringing this up here
|
What do these changes do?
Related issue/s
How to test
pytest -vv -k test_registration_to_different_product --pdb tests/unit
Dev Checklist
DevOps Checklist