Daniel Oaks
e4c3490787
Make tests around joining channels more deterministic
2017-11-01 17:29:45 +00:00
Daniel Oaks
59d5d2c76e
channels: No-topic numeric isn't required after joining a channel, it's optional
2017-10-04 18:48:38 +10:00
Daniel Oaks
463733c772
channels: Check server casemapping before doing mapping checks
2017-10-04 18:44:43 +10:00
Daniel Oaks
e670df8b56
account-tag: Remove MONITOR test since it doesn't make sense to have this in reality
2017-10-04 18:36:59 +10:00
Daniel Oaks
5d1d3ce03b
oragono: Allow TLS tests
2017-09-11 09:15:18 +10:00
Daniel Oaks
136e65eb13
chanops: Remove not-too-useful TOPIC test on setting mode?
2017-05-10 08:39:47 +10:00
Daniel Oaks
dc8bca9436
oragono: Use new registration command
2017-05-10 08:38:10 +10:00
Daniel Oaks
a077f264a3
oragono: Fix config so it loads
2017-04-17 22:34:25 +10:00
Daniel Oaks
717b557610
Add gIRC controller
2016-12-01 19:43:30 +10:00
Daniel Oaks
f359feb8e2
Initial overhaul changes
2016-12-01 19:21:25 +10:00
Daniel Oaks
2f95675348
docstring: Update
2016-12-01 18:51:29 +10:00
Daniel Oaks
dadf85c4a3
server: Fix double kick msgs test
2016-12-01 18:00:57 +10:00
Daniel Oaks
c6663bc9b6
LIST: make RPL_LISTSTART optional (as it is today)
2016-11-30 01:40:03 +10:00
Daniel Oaks
ca8b3cf625
Add Deprecated test classes, for ones that shouldn't be run by default these days
2016-11-30 01:19:19 +10:00
Daniel Oaks
da25b59380
test_sasl: Unify successful auth checking a bit more
2016-11-29 22:37:08 +10:00
Daniel Oaks
9ede9045ad
Add Oragono IRCd
2016-11-29 22:36:32 +10:00
Valentin Lorentz
548ddb57b0
Add TLS certificate check tests for clients.
2016-07-20 11:41:35 +02:00
Valentin Lorentz
1f9e3a3546
Fix typo.
2016-07-20 10:24:06 +02:00
Valentin Lorentz
b4feb32bd7
Limnoria now uses SSL by default. Update its controller to disable it.
2016-02-21 11:22:38 +01:00
Valentin Lorentz
8948976bba
Add tests for invite to non-existing channels.
2016-01-01 12:02:50 +01:00
Valentin Lorentz
f91693eeea
Mark case sensitivity tests as strict.
...
https://github.com/mammon-ircd/mammon/issues/76
2015-12-30 16:23:31 +01:00
Valentin Lorentz
68e6adda69
Add tests for extended-join.
2015-12-29 12:54:09 +01:00
Valentin Lorentz
027dce4ef7
Add test to check a “MONITOR -” has no effect on other users.
2015-12-28 14:50:03 +01:00
Valentin Lorentz
a90490019f
Fix test on servers not implementing server-time.
2015-12-28 12:40:08 +01:00
Valentin Lorentz
7fd17ad329
Proper synchronization instead of time.sleep()
2015-12-28 12:34:57 +01:00
Valentin Lorentz
a34d4077ca
Better handling of closed connections.
2015-12-27 12:45:03 +01:00
Valentin Lorentz
d62dfcdeec
Configure Charybdis to make LIST behavior follow RFC 1459.
2015-12-27 10:24:29 +01:00
Valentin Lorentz
1de1ca40d7
Add tests for account-tag.
2015-12-26 21:45:50 +01:00
Valentin Lorentz
9aed850271
Fix comment.
2015-12-26 21:45:39 +01:00
Valentin Lorentz
0f87ecde3f
Add tests for “MONITOR -” and “MONITOR + <hostmask>”.
2015-12-26 20:13:41 +01:00
Valentin Lorentz
5f07025a4a
Add basic MONITOR tests.
2015-12-25 22:47:11 +01:00
Valentin Lorentz
4d7ba5f247
Remove debug prints.
2015-12-25 21:49:40 +01:00
Valentin Lorentz
e787d3d7b1
exit(1) if there was a failure or an error.
2015-12-25 21:08:59 +01:00
Valentin Lorentz
50ff513ea6
Add link to Python bug tracker to explain why assertions differ.
2015-12-25 16:03:42 +01:00
Valentin Lorentz
e2583a67ca
Add STARTTLS tests.
2015-12-25 15:45:06 +01:00
Valentin Lorentz
6e50d100e9
Add test for SASL PLAIN with no authzid.
2015-12-24 22:35:15 +01:00
Valentin Lorentz
1281901eb3
Remove debug print.
2015-12-24 21:21:06 +01:00
Valentin Lorentz
da54b76b78
Add test on the interaction of server-time and echo-message.
2015-12-24 21:14:59 +01:00
Valentin Lorentz
87301592d4
Add echo-message tests.
2015-12-24 20:52:36 +01:00
Valentin Lorentz
60bd8a04f7
Improve help, and copy it to the README.
2015-12-24 12:07:40 +01:00
Valentin Lorentz
eb46c39723
Add tests for IRCv3.1 CAP LS/LIST.
2015-12-24 01:12:50 +01:00
Valentin Lorentz
9943753e2b
Don't use subTest, it gives bad tracebacks.
2015-12-24 01:12:33 +01:00
Valentin Lorentz
073a8a3183
Return all parsed messages before raising ConnectionClosed.
...
Caused testQuitErrors to fail with Charybdis.
2015-12-23 21:32:20 +01:00
Valentin Lorentz
76f0224f25
Fix assertion message.
2015-12-23 21:28:36 +01:00
Valentin Lorentz
5d4473b767
Add option --loose.
2015-12-23 19:39:34 +01:00
Valentin Lorentz
4ef79cbe45
Improve error messages.
2015-12-23 19:05:21 +01:00
Valentin Lorentz
d3617b7012
Make port wait lazy. This way, we don't want for the server to start if the test is skipped immediately.
2015-12-23 01:54:10 +01:00
Valentin Lorentz
53f916991f
Add METADATA tests.
2015-12-22 22:33:23 +01:00
Valentin Lorentz
caa85d25cb
ClientMock.getMessages: Reuse the inbuffer.
2015-12-22 20:50:01 +01:00
Valentin Lorentz
69203a145d
Split connectClient into connectClient and skipToWelcome.
2015-12-22 20:49:31 +01:00
Valentin Lorentz
2cc4ad4f0f
Make the set of tested specifications configurable.
2015-12-22 19:55:48 +01:00
Valentin Lorentz
ef8adc7ede
Rename irctest.optionality to irctest.runner, and clean code a bit.
2015-12-22 18:54:06 +01:00
Valentin Lorentz
95db1d4dfd
Add tests for channel names sensitivity.
2015-12-22 12:14:55 +01:00
Valentin Lorentz
63671afcf4
Add TOPIC test cases.
2015-12-22 05:06:51 +01:00
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
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
6547147b69
Load Limnoria's Authentication plugin.
2015-12-20 20:46:13 +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
6973f05130
Add --server-start-delay for delay seconds, and cleanup mammon
2015-12-20 14:00:20 +10:00
Valentin Lorentz
62d176209c
Class attributes instead of instance attributes.
2015-12-20 04:41:02 +01:00
Daniel Oaks
07e160758e
client_tests.test_sasl: Split out mechanism test
2015-12-20 13:31:29 +10:00
Daniel Oaks
7b3d88d563
controllers: Add supported SASL mechanism lists
2015-12-20 13:29:16 +10:00
Daniel Oaks
9301f5e50e
client_tests.test_sasl: Make supported mechanism list mandatory
2015-12-20 13:29:05 +10:00
Daniel Oaks
2541fa25ca
irctest.client_tests.test_sasl: Support skipping unsupported mechanism tests
2015-12-20 13:07:13 +10:00
Valentin Lorentz
c52e78d2f9
Remove useless constant.
2015-12-20 03:20:01 +01:00
Valentin Lorentz
1fd5770d42
Add client test for ECDSA-NIST256P-CHALLENGE.
2015-12-20 02:59:17 +01:00
Valentin Lorentz
2695b604e7
Add testNakWhole.
2015-12-20 02:20:12 +01:00
Valentin Lorentz
4379ee6abf
Add Mammon controller.
2015-12-20 01:48:56 +01:00
Daniel Oaks
ac2a36274c
irctest.cases: Send QUIT before kill, because after kill we may not be able to send msgs
2015-12-20 10:17:52 +10:00
Valentin Lorentz
8d12f2fedb
Add tests for NAK.
2015-12-20 00:47:06 +01:00
Valentin Lorentz
7a4cc47d9c
Enable IRCv3 for InspIRCd.
2015-12-19 23:44:51 +01:00
Valentin Lorentz
a9439603ac
Prevent Limnoria from putting its file in the current folder.
2015-12-19 23:17:14 +01:00
Valentin Lorentz
a8f8d7c077
Start supporting server testing.
2015-12-19 23:09:06 +01:00
Valentin Lorentz
71110b1ee1
Rename clienttests to client_tests for consistency.
2015-12-19 21:21:34 +01:00
Valentin Lorentz
5af760ccdd
Add tests for SASL mechanism refusal.
2015-12-19 21:17:06 +01:00
Valentin Lorentz
9426f8f527
Remove debug print.
2015-12-19 20:09:23 +01:00
Valentin Lorentz
4e57b793a3
Make Sopel quiet and remove warning.
2015-12-19 19:14:47 +01:00
Valentin Lorentz
9f5cdbc067
Add test for authstrings whose size is a multiple of 400.
2015-12-19 19:03:52 +01:00
Valentin Lorentz
aa6ab3a77d
Make it possible to specify a mode for opening Sopel files.
2015-12-19 19:03:31 +01:00
Valentin Lorentz
3c6be69538
Add missing files.
2015-12-19 18:08:34 +01:00
Valentin Lorentz
9868f6a1d4
Add SASL PLAIN test.
2015-12-19 17:52:38 +01:00
Valentin Lorentz
2a4b1f1540
Add support for clients refusing negotiation and fix typos.
2015-12-19 11:32:19 +01:00
Valentin Lorentz
f9c497b7ca
Add Sopel controller and add support for CAP NAK.
2015-12-19 10:05:37 +01:00
Valentin Lorentz
6d68a497ac
Add --show-io, improve I/O commands, and add test case for empty CAP LS.
2015-12-19 09:30:50 +01:00
Valentin Lorentz
097b28b8e7
Move CAP LS handling to a more generic class.
2015-12-19 09:03:08 +01:00
Valentin Lorentz
d99f8b39dc
Add message parser and write first actual test.
2015-12-19 08:43:45 +01:00
Valentin Lorentz
7568e0d5d3
Basic architecture.
2015-12-19 01:11:57 +01:00