(parent_session)
| 22 | |
| 23 | |
| 24 | def expected_subprocess_config(parent_session): |
| 25 | config = dict(parent_session.config) |
| 26 | for key in "args", "listen", "postDebugTask", "preLaunchTask", "processId": |
| 27 | config.pop(key, None) |
| 28 | for key in "python", "pythonArgs", "pythonPath": |
| 29 | if key in config: |
| 30 | config[key] = some.thing |
| 31 | config.update( |
| 32 | { |
| 33 | "name": some.str, |
| 34 | "request": "attach", |
| 35 | "subProcessId": some.int, |
| 36 | "connect": {"host": some.str, "port": some.int}, |
| 37 | } |
| 38 | ) |
| 39 | return config |
| 40 | |
| 41 | |
| 42 | @pytest.mark.parametrize( |
no test coverage detected
searching dependent graphs…