()
| 189 | |
| 190 | |
| 191 | def test_wsgi_app() -> None: |
| 192 | config = Config(app=wsgi_app, interface="wsgi", proxy_headers=False) |
| 193 | config.load() |
| 194 | |
| 195 | assert isinstance(config.loaded_app, WSGIMiddleware) |
| 196 | assert config.interface == "wsgi" |
| 197 | assert config.asgi_version == "3.0" |
| 198 | |
| 199 | |
| 200 | def test_proxy_headers() -> None: |