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

Method testQuotedString5

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

Source from the content-addressed store, hash-verified

50 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, "foo\\010bar"))
51
52 def testQuotedString5(self):
53 with self.assertRaises(dns.exception.UnexpectedEnd):
54 tok = dns.tokenizer.Tokenizer(r'"foo')
55 tok.get()
56
57 def testQuotedString6(self):
58 with self.assertRaises(dns.exception.SyntaxError):

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected