(app, client, prefix, rule, url)
| 118 | ), |
| 119 | ) |
| 120 | def test_blueprint_prefix_slash(app, client, prefix, rule, url): |
| 121 | bp = flask.Blueprint("test", __name__, url_prefix=prefix) |
| 122 | |
| 123 | @bp.route(rule) |
| 124 | def index(): |
| 125 | return "", 204 |
| 126 | |
| 127 | app.register_blueprint(bp) |
| 128 | assert client.get(url).status_code == 204 |
| 129 | |
| 130 | |
| 131 | def test_blueprint_url_defaults(app, client): |
nothing calls this directly
no test coverage detected