Ghostkeeper
|
677b64f068
Remove unnecessary import
|
3 years ago |
Ghostkeeper
|
4b5d698325
Fix assertion of resulting profile via callback
|
3 years ago |
Ghostkeeper
|
fbbf1427b3
Fix patching of getUserProfile
|
3 years ago |
Ghostkeeper
|
c5e22c53cc
Fix checking return values in log-in/log-out flow test
|
3 years ago |
Ghostkeeper
|
a8a41381cb
Remove test simulating request error in user profile
|
3 years ago |
Ghostkeeper
|
4139350496
Fix test checking for failure of refresh token to reset auth
|
3 years ago |
Ghostkeeper
|
3236be1c20
Also mock POST command and a failed response
|
3 years ago |
Ghostkeeper
|
e8f9e92f02
Simulate an actual expired authentication token
|
3 years ago |
Ghostkeeper
|
70924f17aa
Mock HttpRequestManager getting the profile with refresh token
|
3 years ago |
Ghostkeeper
|
3b6ff15d60
Rewrite test to mock HttpRequestManager with authentication failure
|
3 years ago |
Ghostkeeper
|
c8aff57bfe
Actually mock a reply from the auth server
|
3 years ago |
Ghostkeeper
|
f0cbdeb903
Use docstring format for this documentation
|
3 years ago |
Ghostkeeper
|
9dd251975d
Test for result of callback with a callable
|
3 years ago |
Konstantinos Karmas
|
3be4b1a441
Fix failing test
|
3 years ago |
Gabriel Féron
|
e26cf6f810
Fix test_wrongServerResponses
|
3 years ago |
Kostas Karmas
|
32efb8d7bb
Fix description comment of _generate_auth_url()
|
4 years ago |
Kostas Karmas
|
d3fb002d9b
Transfer the generation of the auth link into its own function
|
4 years ago |
Lipu Fei
|
e8fd013329
Fix OAuth2 test
|
5 years ago |
Jaime van Kessel
|
9e6263b1f1
Change instances of assert_called_once to assert_called_once_with
|
5 years ago |
Jaime van Kessel
|
0c11304a7b
Expand the oath tests with some extra failure cases
|
5 years ago |
Jaime van Kessel
|
23bd611470
Added some tests for unhappy path of OAuth
|
5 years ago |
ChrisTerBeke
|
a7071e2d3d
Fix unit tests
|
5 years ago |
Lipu Fei
|
3a01b63343
Fix refactor and tests
|
6 years ago |
Jaime van Kessel
|
47c5dbaf84
Add extra unit test that tests the storing and loading of data to the preferences
|
6 years ago |
Jaime van Kessel
|
202cf698c3
Change callback for succes / failure to the new location
|
6 years ago |
Jaime van Kessel
|
d5dbf91a4f
Switch unit test to use decoratior instead of with waterfall
|
6 years ago |
Jaime van Kessel
|
b48adf5b3e
Typing fixes
|
6 years ago |
Jaime van Kessel
|
7360313ff7
Add LocalAuthServer test
|
6 years ago |
Jaime van Kessel
|
1e5177a44f
Added unit tests for authorization service
|
6 years ago |