3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 04:32:51 +01:00

pr/insp: drop tests for validing channel names

This commit is contained in:
James Lu 2015-07-09 18:40:32 -07:00
parent eec024bf9a
commit 652d53c29e

View File

@ -56,8 +56,6 @@ class TestProtoInspIRCd(unittest.TestCase):
self.assertIn(u, self.irc.channels['#channel'].users) self.assertIn(u, self.irc.channels['#channel'].users)
# Non-existant user. # Non-existant user.
self.assertRaises(LookupError, self.proto.joinClient, self.irc, '9PYZZZZZZ', '#test') self.assertRaises(LookupError, self.proto.joinClient, self.irc, '9PYZZZZZZ', '#test')
# Invalid channel.
self.assertRaises(ValueError, self.proto.joinClient, self.irc, u, 'aaaa')
def testPartClient(self): def testPartClient(self):
u = self.u u = self.u