From 34b468b33aa085fcd68e027a8b6c54fc5ad45cb5 Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Mon, 11 Feb 2013 12:11:18 +0000 Subject: Adding test case for the lusers command. --- test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.py b/test.py index d8d6481..64734d8 100644 --- a/test.py +++ b/test.py @@ -251,6 +251,11 @@ class TestBasicStuff(ServerFixture): self.send("apa", "ISON apa lemur") self.expect("apa", r":local\S+ 303 apa :apa lemur") + def test_lusers(self): + self.connect("apa") + self.send("apa", "lusers") + self.expect("apa", r":local\S+ 251 apa :There are \d+ users and \d+ services on \d+ servers*") + class TestTwoChannelsStuff(TwoClientsTwoChannelsFixture): def test_privmsg_to_channel(self): -- cgit v1.2.3