MCPcopy Create free account
hub / github.com/rthalley/dnspython / testQuotedString3

Method testQuotedString3

tests/test_tokenizer.py:42–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, ""))
41
42 def testQuotedString3(self):
43 tok = dns.tokenizer.Tokenizer(r'"\"foo\""')
44 token = tok.get()
45 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, '\\"foo\\"'))
46
47 def testQuotedString4(self):
48 tok = dns.tokenizer.Tokenizer(r'"foo\010bar"')

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
TokenClass · 0.85

Tested by

no test coverage detected