MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / parse_argv

Function parse_argv

pythonFiles/testlauncher.py:8–16  ·  view source on GitHub ↗

Parses arguments for use with the test launcher. Arguments are: 1. Working directory. 2. Test runner, `pytest` or `nose` 3. Rest of the arguments are passed into the test runner.

()

Source from the content-addressed store, hash-verified

6
7
8def parse_argv():
9 """Parses arguments for use with the test launcher.
10 Arguments are:
11 1. Working directory.
12 2. Test runner, `pytest` or `nose`
13 3. Rest of the arguments are passed into the test runner.
14 """
15
16 return (sys.argv[1], sys.argv[2], sys.argv[3:])
17
18
19def run(cwd, testRunner, args):

Callers 1

testlauncher.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected