Commit Graph

31 Commits

Author SHA1 Message Date
Valentin Lorentz 3d2399f62e Run Atheme with Charybdis, to enable tests depending on SASL 2021-06-27 21:19:34 +02:00
Valentin Lorentz c5037e8ec9 Make AthemeController a collaborator instead of a mixin
It makes the inheritence less messy and avoids a mypy hack.

This will also allow configuring which service package an ircd controller
uses, instead of hardcoding it in the inheritence DAG.
2021-06-27 16:45:43 +02:00
Valentin Lorentz 7ee3c562d1 Run Atheme with InspIRCd, to enable tests depending on SASL 2021-06-27 16:45:43 +02:00
Shivaram Lingamneni 7be29ad801 rename Oragono to Ergo 2021-05-27 00:07:32 -04: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 12da7e1e3b Enable mypy, and do the minimal changes to make it pass 2021-02-28 18:45:13 +01:00
Valentin Lorentz 8ea7197f76 Crash when a controlled process stopped instead of waiting forever. 2021-02-24 16:18:08 +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
Valentin Lorentz 373c705247 Add STS tests. 2021-02-21 22:05:15 +01:00
Valentin Lorentz 4ded96fbba Fix LUSER tests to pass with Charybdis. 2021-02-21 21:50:24 +01:00
Valentin Lorentz 9b2a6a063c Don't pass a 'config' argument to the controller, only Oragono had it.
Instead, annotate tests with the optional features they may need from the IRCd.
2021-02-15 23:29:10 +01:00
Shivaram Lingamneni 1614c5a888 speed up oragono tests by reducing the port wait interval 2020-09-14 04:41:08 -04:00
Shivaram Lingamneni d7c231ba9e remove psutil 2020-09-13 06:47:50 -04:00
Daniel Oaks e39f7be14c Make openssl binary configurable, for OSX 2017-11-02 00:07:06 +00:00
Valentin Lorentz e2583a67ca Add STARTTLS tests. 2015-12-25 15:45:06 +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 ef8adc7ede Rename irctest.optionality to irctest.runner, and clean code a bit. 2015-12-22 18:54:06 +01:00
Valentin Lorentz 3b196ce445 Add test testKickSendsMessages. 2015-12-22 01:56:01 +01:00
Valentin Lorentz 38569f013f Add PLAIN test for servers. 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 4379ee6abf Add Mammon controller. 2015-12-20 01:48:56 +01:00
Valentin Lorentz a8f8d7c077 Start supporting server testing. 2015-12-19 23:09:06 +01:00
Valentin Lorentz 9868f6a1d4 Add SASL PLAIN test. 2015-12-19 17:52:38 +01:00
Valentin Lorentz 7568e0d5d3 Basic architecture. 2015-12-19 01:11:57 +01:00