Commit graph

37 commits

Author SHA1 Message Date
zandercymatics
83c7a5cdfd
Linting 2024-04-26 08:11:43 -06:00
zandercymatics
d9408076b1
Fix migrations, PR suggestions 2024-04-26 08:07:50 -06:00
zandercymatics
54b615d7f8
Unit tests 2024-04-23 13:46:20 -06:00
Rachid Mrad
d2c6a2df8b
change StateMismatch to inherit AuthenticationFailed 2024-03-20 12:29:12 -04:00
Rachid Mrad
3ea0d90853
lint 2024-03-19 16:51:38 -04:00
Rachid Mrad
e4c1b06f63
unit tests 2024-03-19 16:48:36 -04:00
Rachid Mrad
ea43a34dee
Attempt a redirect (once) if there's a state mismatch 2024-03-15 15:34:53 -04:00
David Kennedy
f5a1348ccb
updated comment 2024-02-14 17:11:55 -05:00
David Kennedy
3387ec032b
handle logout when no session is present 2024-02-14 12:09:27 -05:00
David Kennedy
9dff75d392
tests for login_callback 2024-02-09 15:28:03 -05:00
David Kennedy
6820456286
openid tests 2024-02-09 14:25:11 -05:00
David Kennedy
1df7dc48df
oidc error on init logs error; oidc re-inits on request if in error state 2024-02-09 08:35:30 -05:00
David Kennedy
0546bd08e5
suppressed logging from all test cases; made slight changes to handling of exceptions in connection pooling 2024-01-29 18:22:35 -05:00
Rachid Mrad
510da21934
Implement VIP table and fix 401 login bug 2024-01-18 19:58:53 -05:00
Michelle Rago
e2af9ac153
Text updates to success and error messages (#1593)
* Text updates to error messages

* Error message text updates

* Error message text updates

* Update to success message text for name server update

* Update to DS data removal warning text

* Success message text updates

* typo fix

* Text updates for success messages

* Update 403 text

* Update 500 error text

* Using example.com instead of city.com

* Putting the period outside the link

* Updated name server minimum error text

* Trying to fix python errors

* Update name server minimum text

* Update errors.py

* Trying to fix python errors

* Update errors.py

* Making error messages agree

* Minor text change

* Fix black error message formatting

* Fixed tests and reformatted

* One last fix?

---------

Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
2024-01-09 09:19:51 -05:00
Rachid Mrad
9b90172cd3
lint 2023-12-12 20:26:46 -05:00
Rachid Mrad
e7e3df0422
Lint 2023-12-12 18:28:25 -05:00
David Kennedy
abae70b96e
added unit test for conflicting first and last names 2023-12-11 20:49:33 -05:00
David Kennedy
e7c26d9dc6
wrote test cases for testing backends.py authenticate 2023-12-11 20:03:00 -05:00
David Kennedy
f7fdecfd33
updated comments to reflect tests; made logic more readable in needs_identity_verification 2023-12-08 17:32:25 -05:00
David Kennedy
0ed0cb6c37
all hail the linter 2023-12-08 11:30:15 -05:00
David Kennedy
294da6a1e2
fixed test oidc to work locally and PASS in pipeline 2023-12-08 11:26:33 -05:00
David Kennedy
a6ae9ad74e
fixed tests for djangooidc 2023-12-08 11:05:07 -05:00
David Kennedy
3bbfd5cd88
fixed test in pipeline 2023-12-08 10:43:56 -05:00
David Kennedy
5be972e068
testing test failure in pipeline 2023-12-08 10:13:38 -05:00
Rachid Mrad
1001454a85
More oidc tests test_login_callback_requires_step_up_auth and test_login_callback_no_step_up_auth, lint 2023-12-07 16:33:35 -05:00
Rachid Mrad
1a2b16a3da
WIP on more oidc testing 2023-12-07 14:46:21 -05:00
Rachid Mrad
ecb30fd73e
Unit tests for the requires_step_up_auth logic in login_callback 2023-12-07 01:27:27 -05:00
David Kennedy
c760417e6a
updated linter length; linter reformatted several files 2023-11-10 11:05:18 -05:00
igorkorenfeld
3a2d9f5ada
Update test to match new content on 500 error 2023-05-08 12:52:39 -04:00
Neil Martinsen-Burrell
d3a285b5d8
Fix deprecation warnings 2023-03-27 12:40:34 -05:00
Seamus Johnston
94800bc00a
Fix missing client_id during logout 2022-10-24 17:09:36 -05:00
Seamus Johnston
9b008d6363
Run tests behind logged in pages (#162)
* Redirect admin login to Login.gov

* Add logged in scanning to CI

* Fix bug in LOGIN_URL

* Fix linter and tests

* Address PR feedback

* Try quotes
2022-10-11 11:26:11 -05:00
Seamus Johnston
cc4621ad20
Fix linter errors 2022-09-30 15:10:16 -05:00
Seamus Johnston
828051854e
Address PR feedback 2022-09-30 14:14:43 -05:00
Seamus Johnston
b5ea6c8e39
Fix tests in CI 2022-09-30 08:18:13 -05:00
Seamus Johnston
b25c8f435d
Test OIDC views 2022-09-29 15:06:15 -05:00