(self)
| 320 | |
| 321 | @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") |
| 322 | def test_ie7_unc_path(self): |
| 323 | client = Client(form_data_consumer) |
| 324 | data_file = join(dirname(__file__), "multipart", "ie7_full_path_request.http") |
| 325 | data = get_contents(data_file) |
| 326 | boundary = "---------------------------7da36d1b4a0164" |
| 327 | with client.post( |
| 328 | "/?object=cb_file_upload_multiple", |
| 329 | data=data, |
| 330 | content_type=f'multipart/form-data; boundary="{boundary}"', |
| 331 | content_length=len(data), |
| 332 | ) as response: |
| 333 | lines = response.get_data().split(b"\n", 3) |
| 334 | assert lines[0] == b"'Sellersburg Town Council Meeting 02-22-2010doc.doc'" |
| 335 | |
| 336 | def test_end_of_file(self): |
| 337 | # This test looks innocent but it was actually timing out in |
nothing calls this directly
no test coverage detected