mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
fix(db oauth2): Improve OAuth2 flow (#39499)
This commit is contained in:
@@ -137,6 +137,7 @@ def test_refresh_oauth2_token_deletes_token_on_oauth2_exception(
|
||||
refresh_oauth2_token(DUMMY_OAUTH2_CONFIG, 1, 1, db_engine_spec, token)
|
||||
|
||||
db.session.delete.assert_called_with(token)
|
||||
db.session.flush.assert_called_once()
|
||||
|
||||
|
||||
def test_refresh_oauth2_token_keeps_token_on_other_exception(
|
||||
|
||||
Reference in New Issue
Block a user