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

Method testQuotedString1

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

Source from the content-addressed store, hash-verified

30 self.assertEqual(token, Token(dns.tokenizer.IDENTIFIER, "foo"))
31
32 def testQuotedString1(self):
33 tok = dns.tokenizer.Tokenizer(r'"foo"')
34 token = tok.get()
35 self.assertEqual(token, Token(dns.tokenizer.QUOTED_STRING, "foo"))
36
37 def testQuotedString2(self):
38 tok = dns.tokenizer.Tokenizer(r'""')

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
TokenClass · 0.85

Tested by

no test coverage detected