(self, data)
| 20 | @example(b"0:") |
| 21 | @example(b"0:~") |
| 22 | def test_fuzz(self, data): |
| 23 | f = io.BytesIO(data) |
| 24 | reader = FlowReader(f) |
| 25 | try: |
| 26 | for _ in reader.stream(): |
| 27 | pass |
| 28 | except exceptions.FlowReadException: |
| 29 | pass # should never raise anything else. |
| 30 | |
| 31 | @pytest.mark.parametrize( |
| 32 | "file", [pytest.param(x, id=x.stem) for x in here.glob("har_files/*.har")] |
nothing calls this directly
no test coverage detected