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

Method testEmpty1

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

Source from the content-addressed store, hash-verified

65 tok.get()
66
67 def testEmpty1(self):
68 tok = dns.tokenizer.Tokenizer("")
69 token = tok.get()
70 self.assertTrue(token.is_eof())
71
72 def testEmpty2(self):
73 tok = dns.tokenizer.Tokenizer("")

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
is_eofMethod · 0.80

Tested by

no test coverage detected