mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
save work
This commit is contained in:
parent
e0f2a8be98
commit
382bc69a2b
2 changed files with 23 additions and 9 deletions
|
|
@ -73,11 +73,16 @@ def cli(pyfile):
|
|||
|
||||
|
||||
# Test a combination of command line switches
|
||||
@pytest.mark.parametrize("target_kind", ["file", "module", "code"])
|
||||
@pytest.mark.parametrize("mode", ["listen", "connect"])
|
||||
@pytest.mark.parametrize("address", ["8888", "localhost:8888"])
|
||||
@pytest.mark.parametrize("wait_for_client", ["", "wait_for_client"])
|
||||
@pytest.mark.parametrize("script_args", ["", "script_args"])
|
||||
#@pytest.mark.parametrize("target_kind", ["file", "module", "code"])
|
||||
#@pytest.mark.parametrize("mode", ["listen", "connect"])
|
||||
#@pytest.mark.parametrize("address", ["8888", "localhost:8888"])
|
||||
#@pytest.mark.parametrize("wait_for_client", ["", "wait_for_client"])
|
||||
#@pytest.mark.parametrize("script_args", ["", "script_args"])
|
||||
@pytest.mark.parametrize("target_kind", ["file"])
|
||||
@pytest.mark.parametrize("mode", ["listen"])
|
||||
@pytest.mark.parametrize("address", ["8888"])
|
||||
@pytest.mark.parametrize("wait_for_client", ["wait_for_client"])
|
||||
@pytest.mark.parametrize("script_args", ["script_args"])
|
||||
def test_targets(cli, target_kind, mode, address, wait_for_client, script_args):
|
||||
expected_options = {
|
||||
"mode": mode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue