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

Method test_token_value_leading_hash

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

Source from the content-addressed store, hash-verified

156 """, 'password', '\xa1\xa2')
157
158 def test_token_value_leading_hash(self):
159 self._test_token_x("""\
160 machine host.domain.com login #log password pass account acct
161 """, 'login', '#log')
162 self._test_token_x("""\
163 machine host.domain.com login log password pass account #acct
164 """, 'account', '#acct')
165 self._test_token_x("""\
166 machine host.domain.com login log password #pass account acct
167 """, 'password', '#pass')
168
169 def test_token_value_trailing_hash(self):
170 self._test_token_x("""\

Callers

nothing calls this directly

Calls 1

_test_token_xMethod · 0.95

Tested by

no test coverage detected