Commit Graph

90 Commits

Author SHA1 Message Date
Valentin Lorentz 8425bf7c2a Add test for KICKs with two targets. 2015-12-22 04:37:19 +01:00
Valentin Lorentz 3b196ce445 Add test testKickSendsMessages. 2015-12-22 01:56:01 +01:00
Valentin Lorentz 813f968321 Fix assertion messages. 2015-12-22 01:29:05 +01:00
Valentin Lorentz d5de337c8d Add tests for AUTHENTICATE with auth string longer than 399 characters. 2015-12-22 00:47:02 +01:00
Valentin Lorentz 1dd70a8b54 Better doc. 2015-12-22 00:46:18 +01:00
Valentin Lorentz a4cf83e01a Add tests for LIST. 2015-12-21 23:15:22 +01:00
Valentin Lorentz 3380450cdf Update README.md with new controllers. 2015-12-21 22:54:03 +01:00
Valentin Lorentz 4428283de5 Fix typo. 2015-12-21 22:50:47 +01:00
Valentin Lorentz ac0df9d941 Expand testJoinTwice. 2015-12-21 22:31:55 +01:00
Valentin Lorentz acb58d0f14 Fix typo. 2015-12-21 22:31:40 +01:00
Valentin Lorentz 647894b50f Make assertion messages readable by people who are not me. 2015-12-21 21:48:59 +01:00
Valentin Lorentz 8cdd6d4d9e Add a test for PARTing from a non-empty channel. 2015-12-21 20:34:35 +01:00
Valentin Lorentz 3a3b504762 Move ClientMock to its own file. 2015-12-21 20:13:16 +01:00
Valentin Lorentz d2616dc7d7 Small code improvements to InspIRCd controller. 2015-12-21 20:12:57 +01:00
Valentin Lorentz d7df7b7f90 Fix issues in Charybdis' controller.
* Change pid file across start (so it does not complain if not properly terminated)
* Don't limit number of users (it someone remembers number of connects across restarts, but I can't figure out how).
2015-12-21 20:12:22 +01:00
Valentin Lorentz 17e0216b88 Add Charybdis controller. 2015-12-21 18:01:36 +01:00
Valentin Lorentz 02d74a294d Add missing file. 2015-12-21 18:01:21 +01:00
Valentin Lorentz 6e4e14b9f9 Be less stupid for testing a set of commands has been sent. 2015-12-21 18:01:11 +01:00
Valentin Lorentz 10dbd84156 Allow ERR_NOSUCHCHANNEL as a response for PART from an empty/inexistant channel. 2015-12-21 17:31:10 +01:00
Valentin Lorentz 74443bb6ae Add PASS tests. 2015-12-21 16:36:22 +01:00
Valentin Lorentz b71e1f3355 Fix BaseServerTestCase when there is more than one user. 2015-12-21 16:36:09 +01:00
Valentin Lorentz e20b2c0c44 Remove useless variable. 2015-12-21 15:45:28 +01:00
Valentin Lorentz d75ffcb2f5 Split testJoin into testJoinAllMessages and testJoinNamreply, and add testPartNotInChannel 2015-12-21 15:45:05 +01:00
Valentin Lorentz 469eedab89 Add server tests for JOIN. 2015-12-21 13:10:39 +01:00
Valentin Lorentz 4ac1108f82 Add quotes from specifications to test descriptions. 2015-12-21 13:09:30 +01:00
Valentin Lorentz 5eb014d4ba Add PING-based synchronization for fetching messages from server. 2015-12-21 12:24:40 +01:00
Valentin Lorentz 4335b909e5 Hide InspIRCd's output. 2015-12-21 12:24:08 +01:00
Valentin Lorentz baa7b5306e Add tests for NICK collisions. 2015-12-21 00:25:40 +01:00
Valentin Lorentz 5da956f2d9 Show timestamps of I/Os. 2015-12-21 00:23:32 +01:00
Valentin Lorentz 2a44f9a7ad Add tests from section 3.1 of RFC 2812. 2015-12-20 23:59:35 +01:00
Valentin Lorentz 027a8b968f Update Limnoria controller to put migrations in temporary dir. 2015-12-20 23:58:44 +01:00
Valentin Lorentz e6a00c9055 Use setuptools instead of distutils in setup.py, so it installs dependencies. 2015-12-20 20:56:18 +01:00
Valentin Lorentz 6547147b69 Load Limnoria's Authentication plugin. 2015-12-20 20:46:13 +01:00
Valentin Lorentz 550922ffc4 Give the list of dependencies to distutils. 2015-12-20 20:45:12 +01:00
Valentin Lorentz 2c79b6e7fb Add command-line option for verbosity. 2015-12-20 20:39:06 +01:00
Valentin Lorentz 2601e3f1cb Add missing file. 2015-12-20 16:15:56 +01:00
Valentin Lorentz 38569f013f Add PLAIN test for servers. 2015-12-20 16:15:25 +01:00
Valentin Lorentz d705c4ffbe Fix output of skipped tests. 2015-12-20 16:15:25 +01:00
Valentin Lorentz 7169952a1f Merge pull request #6 from DanielOaks/auto-server-start-wait
Automatically wait for server to start when connecting
2015-12-20 13:51:14 +01:00
Valentin Lorentz 900f18492c Add docstrings. 2015-12-20 13:47:30 +01:00
Daniel Oaks 9844b08d9d Automatically wait for server to start before running server tests 2015-12-20 22:46:47 +10:00
Valentin Lorentz 8d337bb7bd Add registration to server tests. 2015-12-20 13:12:54 +01:00
Valentin Lorentz 8318c3ff59 Merge branch 'server-start-wait' of https://github.com/DanielOaks/irctest
Conflicts:
	irctest/__main__.py
2015-12-20 11:52:07 +01:00
Valentin Lorentz c7143cd725 Add an exception to tell a controller does not implement something. 2015-12-20 11:43:55 +01:00
Valentin Lorentz 95ad6f32d7 Report optional specs/mechs that required a test to be skipped. 2015-12-20 11:26:30 +01:00
Valentin Lorentz 287969248d Run tests properly instead of using a hack with unittest.main(). 2015-12-20 11:07:04 +01:00
Valentin Lorentz 5710e577ec Check client resumes negotiation after ERR_SASLFAIL (904). 2015-12-20 10:53:27 +01:00
Valentin Lorentz 34a16cc323 Make Sopel timeout faster so it does not hang tests. 2015-12-20 10:52:32 +01:00
Daniel Oaks 4c800f64b8 gitignore: Remove useless mammon file, we don't create it 2015-12-20 19:22:20 +10:00
Daniel Oaks 6973f05130 Add --server-start-delay for delay seconds, and cleanup mammon 2015-12-20 14:00:20 +10:00