diff options
author | Alex Wright <alex@xeentech.com> | 2013-02-11 12:11:18 +0000 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2013-02-20 21:07:28 +0100 |
commit | 34b468b33aa085fcd68e027a8b6c54fc5ad45cb5 (patch) | |
tree | 7c2880728049acb86caa78f825be73a553899150 | |
parent | e70b7dd01f82cd70faeec56895e029cf27dbad41 (diff) | |
download | miniircd-34b468b33aa085fcd68e027a8b6c54fc5ad45cb5.tar.gz miniircd-34b468b33aa085fcd68e027a8b6c54fc5ad45cb5.zip |
Adding test case for the lusers command.
-rw-r--r-- | test.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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): |