Beispiel #1
0
 def test_join_no_ts(self):
     s = StateDouble()
     c = JoinHandler(s)
     c.handle((1,1), ["#foo"])
     self.assertEquals(("#foo", 1270080000), s.channel)
Beispiel #2
0
 def test_part_all(self):
     s = StateDouble()
     c = JoinHandler(s)
     c.handle((1,1), ["0"])
     self.assertEquals("partall", s.channel)
Beispiel #3
0
 def test_join(self):
     s = StateDouble()
     c = JoinHandler(s)
     c.handle((1,1), ["#foo", "81"])
     self.assertEquals(("#foo", 81), s.channel)