mirror of https://github.com/jesopo/irctokens
fix test/stateful_encode.py typos
This commit is contained in:
parent
8630c63f46
commit
36225abd0c
|
@ -32,9 +32,9 @@ class TestPop(unittest.TestCase):
|
|||
lines = e.pop(1)
|
||||
self.assertEqual(len(lines), 0)
|
||||
|
||||
class TestClear(unittest.TetsCase):
|
||||
class TestClear(unittest.TestCase):
|
||||
def test(self):
|
||||
e = irctokens.StatefulEncoder()
|
||||
e.push(irctokens.tokenise("PRIVMSG #channel hello")
|
||||
e.push(irctokens.tokenise("PRIVMSG #channel hello"))
|
||||
e.clear()
|
||||
self.assertEqual(e.pending(), b"")
|
||||
|
|
Loading…
Reference in New Issue