(case_setup)
| 2229 | |
| 2230 | @pytest.mark.skipif(True, reason="This is *very* flaky.") |
| 2231 | def test_case_scapy(case_setup): |
| 2232 | with case_setup.test_file("_debugger_case_scapy.py") as writer: |
| 2233 | writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True |
| 2234 | writer.reader_thread.set_messages_timeout(30) # Starting scapy may be slow (timed out with 15 seconds on appveyor). |
| 2235 | writer.write_add_breakpoint(2, None) |
| 2236 | writer.write_make_initial_run() |
| 2237 | |
| 2238 | hit = writer.wait_for_breakpoint_hit() |
| 2239 | thread_id = hit.thread_id |
| 2240 | frame_id = hit.frame_id |
| 2241 | |
| 2242 | writer.write_run_thread(thread_id) |
| 2243 | writer.finished_ok = True |
| 2244 | |
| 2245 | |
| 2246 | @pytest.mark.skipif(IS_APPVEYOR or IS_JYTHON, reason="Flaky on appveyor / Jython encoding issues (needs investigation).") |
nothing calls this directly
no test coverage detected