def METHOD_NAME(oauth_provider_var_mock):
    new_tokens = {"access_token": "new_access", "refresh_token": "new_refresh"}
    oauth2._update_tokens(FAKE_OAUTH_PROVIDER_NAME, new_tokens)
    expected = {FAKE_OAUTH_PROVIDER_NAME: new_tokens}
    assert oauth_provider_var_mock.set.call_args.args == (
        oauth2.OAUTH2_TOKEN_KEY,
        expected,
    )