summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Wright <alex@xeentech.com>2013-02-11 12:11:18 +0000
committerJoel Rosdahl <joel@rosdahl.net>2013-02-20 21:07:28 +0100
commit34b468b33aa085fcd68e027a8b6c54fc5ad45cb5 (patch)
tree7c2880728049acb86caa78f825be73a553899150
parente70b7dd01f82cd70faeec56895e029cf27dbad41 (diff)
downloadminiircd-34b468b33aa085fcd68e027a8b6c54fc5ad45cb5.tar.gz
miniircd-34b468b33aa085fcd68e027a8b6c54fc5ad45cb5.zip
Adding test case for the lusers command.
-rw-r--r--test.py5
1 files changed, 5 insertions, 0 deletions
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):