MCPcopy Index your code
hub / github.com/python/cpython / test_token_value_whitespace

Method test_token_value_whitespace

Lib/test/test_netrc.py:136–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 """, 'password', '"pass')
135
136 def test_token_value_whitespace(self):
137 self._test_token_x("""\
138 machine host.domain.com login "lo g" password pass account acct
139 """, 'login', 'lo g')
140 self._test_token_x("""\
141 machine host.domain.com login log password "pas s" account acct
142 """, 'password', 'pas s')
143 self._test_token_x("""\
144 machine host.domain.com login log password pass account "acc t"
145 """, 'account', 'acc t')
146
147 def test_token_value_non_ascii(self):
148 self._test_token_x("""\

Callers

nothing calls this directly

Calls 1

_test_token_xMethod · 0.95

Tested by

no test coverage detected