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

Method test_escape_longsep

tests/test_cli.py:66–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 assert actual == expected
65
66 def test_escape_longsep(self):
67 items = RequestItems.from_args([
68 self.key_value_arg(r'bob\:==foo'),
69 ])
70 assert items.params == {
71 'bob:': 'foo'
72 }
73
74 def test_valid_items(self):
75 items = RequestItems.from_args([

Callers

nothing calls this directly

Calls 1

from_argsMethod · 0.80

Tested by

no test coverage detected