fix: Updated POST request structure to retrieve token#215
Conversation
Codecov Report
@@ Coverage Diff @@
## master #215 +/- ##
=======================================
Coverage 94.08% 94.08%
=======================================
Files 47 47
Lines 1285 1285
=======================================
Hits 1209 1209
Misses 76 76
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
frgfm
left a comment
There was a problem hiding this comment.
Thanks Felix!
But that's the type of bug correction we cannot leave without testing. Do you think we could integrate that in the unittests? Either by changing the dummy creds to something reproducing the bug or simply checking the encoding by decoding the payload somewhere?
|
You are right, it has to be integrated to unittests ! |
|
Can you confirm that those unittests fail without your modification? (if that's the case, we can move forward) |
|
ping @fe51 🙏 |
|
@frgfm tested updated, we can merge ! |
|
Did you manage to get the client unittests to run? Because the job is failing, and flake8 isn't happy :/ |
|
Okay, I have been able to run tests locally and solve issues ! I think this is ready to merge @frgfm, finally :D As a reminder, the problems encountered were :
|
* fix: authentication, alert payload and exception handling in scripts/api_e2e.py * fix: login POST request as in #215 * fix: login POST request as in #215 * ci: Removes MacOS job for scripts * chore: Updates the version specifier for the E2E script --------- Co-authored-by: Bruno Lenzi <[email protected]> Co-authored-by: F-G Fernandez <[email protected]>
Proposed solution to the issue #214
This PR introduces the following modifications in _retrieve_token method :
Closes #214