(self)
| 59 | """Test the packet construction helper.""" |
| 60 | |
| 61 | def test_empty_vars(self): |
| 62 | packet = make_uwsgi_packet({}) |
| 63 | assert packet == b'\x00\x00\x00\x00' # modifier1=0, size=0, modifier2=0 |
| 64 | |
| 65 | def test_single_var(self): |
| 66 | packet = make_uwsgi_packet({'KEY': 'val'}) |
nothing calls this directly
no test coverage detected