MCPcopy
hub / github.com/httpie/cli / test_url_leading_colon_slash_slash

Function test_url_leading_colon_slash_slash

tests/test_cli.py:184–187  ·  view source on GitHub ↗
(program_name, url_arg, parsed_url)

Source from the content-addressed store, hash-verified

182 ('https', '://pie.dev/get', 'https://pie.dev/get'),
183])
184def test_url_leading_colon_slash_slash(program_name, url_arg, parsed_url):
185 env = MockEnvironment(program_name=program_name)
186 args = parser.parse_args(args=[url_arg], env=env)
187 assert args.url == parsed_url
188
189
190def test_url_colon_slash_slash_only():

Callers

nothing calls this directly

Calls 2

MockEnvironmentClass · 0.85
parse_argsMethod · 0.45

Tested by

no test coverage detected