Commit Graph

28 Commits

Author SHA1 Message Date
Val Lorentz 9d43a002c2
Simplify multi-prefix-related tests and add testNoMultiPrefix (#262)
* Simplify RPL_NAMREPLY-on-join tests

* Simplify testMultiPrefix

* Add testNoMultiPrefix
2024-04-16 21:25:35 +02:00
Val Lorentz ea66a8f9a4
Make re.match actually check the whole string matches the pattern (#261)
And explicitly allow trailing space in RPL_WHOISCHANNELS
2024-04-16 21:05:25 +02:00
Shivaram Lingamneni 1548287335
use consistent import style in filelock shim (#241) 2023-09-24 17:05:33 +02:00
Val Lorentz 36901c1433
Fix lock on the set of used ports (#235)
pytest-xdist (well, execnet) re-loads modules after forking, so each process
had its own lock, making the lock useless.

Co-authored-by: Shivaram Lingamneni <slingamn@cs.stanford.edu>
2023-09-24 08:47:00 +02:00
Val Lorentz 805635c839
Add Sable (#229)
* [WIP] Add support for Sable

* tweak sable controller

* echo_message: Add missing synchronization for Sable

* update sable

* whois: Simplify test

* WHO: Remove test for oper flag from testWhoChan

So it won't fail on Sable, which hides oper status

* WHO: Skip/xfail tests for Sable as needed

* Skip NakWhole when multi-prefix is not supported

* [WIP] Run Sable on CI

* working-directory is not setable on actions

* this isn't ergo

* this really isn't ergo

* minimize rust install and cache cargo deps

* Need to specify packages to install...

* Phony target

* Give up on 'cargo install', it seems to ignore the cache

* try again to cache the target dir

* This isn't Solanum

* Comment out BaseServicesController

* Parallelize Sable tests

* target is relative...

* sigh

* Fix prefix

* Re-add the other software

* chathistory: Test TOPIC is not sent unless event-playable is enabled

* sable: Dynamically generate certificates

This allows using custom server/services names

* sable: Enable services

* sable: Add support for account registration

Sable doesn't support REGISTER via NickServ

* sable: Lower log verbosity

* Fix lint

* Re-add Sable to CI

* Fix/skip tests on Sable

* Kill sable_services' subprocesses

* Bump Sable to include the labeled-response fix

* Bump Sable to the channel-rename downgrade fix
2023-09-21 09:18:23 +02:00
Valentin Lorentz 29bfb064e9 rmeove dead code 2021-09-11 00:32:10 +02:00
Valentin Lorentz 6458586179 Make find_hostname_and_port its own function
So it can be used to generate multiple ports, which will be needed
to link services.
2021-06-27 00:27:48 +02:00
Valentin Lorentz 62a87b5957 type-annotate all functions outside the tests themselves. 2021-02-28 18:45:13 +01:00
Valentin Lorentz ac2a37362c Use dataclasses instead of dicts/namedtuples 2021-02-28 18:45:13 +01:00
Valentin Lorentz 1c1b8214a0 normalize_namreply_params: Fix typo in function call 2021-02-28 18:45:13 +01:00
Valentin Lorentz f9d0ec18ff Make flake8 pass, and run it automatically. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 836cc5d6d2 Use isort to order imports. 2021-02-22 19:42:18 +01:00
Valentin Lorentz 8016e01daf Use Black code style 2021-02-22 19:42:18 +01:00
Shivaram Lingamneni d741ab86d5 add a test for message-tags 2020-11-26 00:25:52 -05:00
Shivaram Lingamneni 706e794df6 test for mute extban 2020-10-21 11:08:14 -04:00
Shivaram Lingamneni 8851083a3e remove limnoria/supybot 2020-09-13 06:38:15 -04:00
Shivaram Lingamneni 41d63ff3cc add znc playback test 2020-02-27 23:00:37 -05:00
Shivaram Lingamneni 7749407d6a test DM echoes 2020-02-20 03:11:42 -05:00
Shivaram Lingamneni 020564bdcb fix incorrect type for empty tags 2020-01-25 20:59:55 -05:00
Shivaram Lingamneni fddc395d43 forgot to commit this file 2019-05-27 16:03:36 -04:00
Shivaram Lingamneni 7d81888b44 rough test for bouncer functionality 2019-05-09 05:39:00 -04:00
Valentin Lorentz 548ddb57b0 Add TLS certificate check tests for clients. 2016-07-20 11:41:35 +02: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 95db1d4dfd Add tests for channel names sensitivity. 2015-12-22 12:14:55 +01:00
Valentin Lorentz 02d74a294d Add missing file. 2015-12-21 18:01:21 +01:00
Valentin Lorentz 2601e3f1cb Add missing file. 2015-12-20 16:15:56 +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 d99f8b39dc Add message parser and write first actual test. 2015-12-19 08:43:45 +01:00