()
| 88 | |
| 89 | |
| 90 | def test_init_app_params(): |
| 91 | app = Flask(__name__) |
| 92 | oauth = OAuth() |
| 93 | oauth.init_app(app, SimpleCache()) |
| 94 | assert oauth.cache is not None |
| 95 | assert oauth.update_token is None |
| 96 | |
| 97 | oauth.init_app(app, update_token=lambda o: o) |
| 98 | assert oauth.update_token is not None |
| 99 | |
| 100 | |
| 101 | def test_create_client(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…