t_50a4f551: Fix auth.py bugs + add 27 tests
- Fix _get_anti_forgery_state: parse JSON response (not raw text) to get Token - Fix _do_login: pass __RequestVerificationToken header, add FormsAuthReturnUrl - Fix login(): pass anti_forgery token through to _do_login - Fix AuthSession: store password for refresh, handle NotVerifiedUserEmail - Add 27 unit tests with respx mocking (all pass) - Add respx+pytest to requirements.txt
This commit is contained in:
@@ -2,3 +2,5 @@ playwright>=1.40.0
|
||||
httpx>=0.25.0
|
||||
click>=8.1.0
|
||||
openpyxl>=3.1.0
|
||||
respx>=0.20.0
|
||||
pytest>=7.0.0
|
||||
|
||||
Reference in New Issue
Block a user