Mock config object for testing.
| 48 | |
| 49 | |
| 50 | class MockConfig: |
| 51 | """Mock config object for testing.""" |
| 52 | |
| 53 | def __init__(self, is_ssl=False, uwsgi_allow_ips=None): |
| 54 | self.is_ssl = is_ssl |
| 55 | self.uwsgi_allow_ips = uwsgi_allow_ips or ['127.0.0.1', '::1'] |
| 56 | |
| 57 | |
| 58 | class TestUWSGIPacketConstruction: |
no outgoing calls