(scope)
| 9 | |
| 10 | |
| 11 | def setup_testing_defaults(scope): |
| 12 | scope.update( |
| 13 | { |
| 14 | "client": ("127.0.0.1", 32767), |
| 15 | "headers": [], |
| 16 | "http_version": "1.0", |
| 17 | "method": "GET", |
| 18 | "path": "/", |
| 19 | "query_string": b"", |
| 20 | "scheme": "http", |
| 21 | "server": ("127.0.0.1", 80), |
| 22 | "type": "http", |
| 23 | } |
| 24 | ) |
| 25 | |
| 26 | |
| 27 | class ASGITest(TestCase): |