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

Method testQuotedString2

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

Source from the content-addressed store, hash-verified

35 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, "foo"))
36
37 def testQuotedString2(self):
38 tok = dns.tokenizer.Tokenizer(r'""')
39 token = tok.get()
40 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, ""))
41
42 def testQuotedString3(self):
43 tok = dns.tokenizer.Tokenizer(r'"\"foo\""')

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
TokenClass · 0.85

Tested by

no test coverage detected