(self, file)
| 32 | "file", [pytest.param(x, id=x.stem) for x in here.glob("har_files/*.har")] |
| 33 | ) |
| 34 | def test_har(self, file): |
| 35 | with open(file, "rb") as f: |
| 36 | reader = FlowReader(f) |
| 37 | try: |
| 38 | for _ in reader.stream(): |
| 39 | pass |
| 40 | except exceptions.FlowReadException: |
| 41 | pass # should never raise anything else. |
| 42 | |
| 43 | def test_empty(self): |
| 44 | assert list(FlowReader(io.BytesIO(b"")).stream()) == [] |
nothing calls this directly
no test coverage detected