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

Method test_token_value_trailing_hash

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

Source from the content-addressed store, hash-verified

167 """, 'password', '#pass')
168
169 def test_token_value_trailing_hash(self):
170 self._test_token_x("""\
171 machine host.domain.com login log# password pass account acct
172 """, 'login', 'log#')
173 self._test_token_x("""\
174 machine host.domain.com login log password pass account acct#
175 """, 'account', 'acct#')
176 self._test_token_x("""\
177 machine host.domain.com login log password pass# account acct
178 """, 'password', 'pass#')
179
180 def test_token_value_internal_hash(self):
181 self._test_token_x("""\

Callers

nothing calls this directly

Calls 1

_test_token_xMethod · 0.95

Tested by

no test coverage detected