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

Method testEOL

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

Source from the content-addressed store, hash-verified

76 self.assertTrue(token1.is_eof() and token2.is_eof())
77
78 def testEOL(self):
79 tok = dns.tokenizer.Tokenizer("\n")
80 token1 = tok.get()
81 token2 = tok.get()
82 self.assertTrue(token1.is_eol() and token2.is_eof())
83
84 def testWS1(self):
85 tok = dns.tokenizer.Tokenizer(" \n")

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
is_eolMethod · 0.80
is_eofMethod · 0.80

Tested by

no test coverage detected