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

Method testQuotedString4

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

Source from the content-addressed store, hash-verified

45 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, '\\"foo\\"'))
46
47 def testQuotedString4(self):
48 tok = dns.tokenizer.Tokenizer(r'"foo\010bar"')
49 token = tok.get()
50 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, "foo\\010bar"))
51
52 def testQuotedString5(self):
53 with self.assertRaises(dns.exception.UnexpectedEnd):

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
TokenClass · 0.85

Tested by

no test coverage detected