Commit Graph

627 Commits

Author SHA1 Message Date
Valentin Lorentz c37ed0f218 Unreal: Fix controller name. 2021-08-09 23:41:37 +02:00
Valentin Lorentz 299c915505 'batch' is required for 'labeled-response' to be active according to the spec 2021-08-09 23:41:37 +02:00
Shivaram Lingamneni 9de76b6063
basic server test for SCRAM-SHA-256 (#84) 2021-08-08 20:47:42 +02:00
Val Lorentz ec386a1fc9
Add Plexus4 (#90) 2021-08-08 20:46:33 +02:00
Valentin Lorentz 93a989b746 Test NAMES on invalid/nonexisting channel returns RPL_ENDOFNAMES. 2021-08-08 10:33:28 +02:00
Shivaram Lingamneni 2343930419
Merge pull request #86 from slingamn/hostname_lookup
disable hostname lookup in ergo controller
2021-08-03 17:43:37 -04:00
Shivaram Lingamneni 3289c64199 disable hostname lookup in ergo controller 2021-08-03 16:49:35 -04:00
Shivaram Lingamneni f63de0548a reenable some account-registration tests for Ergo
These were incorrectly being skipped. If `CAP LS 302` precedes
`requestCapabilities`, `requestCapabilities` sees the LS response
instead of the ACK it expects. Then it assumes that the request was
NAK'ed and skips the test.
2021-07-30 19:10:48 +02:00
Valentin Lorentz 59c7252da1 testUnsetTopicResponses: Assert reply to clearing topic is a TOPIC command. 2021-07-11 17:23:00 +02:00
Valentin Lorentz 4fb7ebcd2c testUnsetTopicResponses: Also check the TOPIC command is forwarded when unsetting the topic 2021-07-11 17:13:31 +02:00
Val Lorentz 77272f83fb
Fix Hybrid support + enable it on CI (#82)
* Fix Hybrid support + enable it on CI

* Can't make Hybrid linking work on Github CI

because the reverse DNS is 'cpu-pool.com' for some reason, and I don't
want to hardcode it, so I give up.
2021-07-10 16:33:32 +02:00
Val Lorentz 8ddf39bd91
Deduplicate Insp/Unreal/Anope builds (#77) 2021-07-07 21:05:14 +02:00
Shivaram Lingamneni 9b18d68707
Merge pull request #76 from ergochat/master
update draft/register -> draft/account-registration
2021-07-07 13:58:40 -04:00
Val Lorentz a637ae3927
Add Anope controller, and use it with inspircd and unreal (#75)
* Add Anope controller, and use it with inspircd and unreal

* Build Anope before running it, duh

* Fix Anope build script

* Consistently use ascii casemapping instead of rfc1459

* Skip failing test with Anope
2021-07-07 15:06:00 +02:00
Shivaram Lingamneni a29b7c5631 update draft/register -> draft/account-registration 2021-07-07 09:04:22 -04:00
Valentin Lorentz 7e024b9ead Add CLI option --services-controller to allow alternatives to Atheme (none for now)
+ fix some issues with killing services processes
2021-07-07 14:02:47 +02:00
Valentin Lorentz 54a911c2f5 Revert "Kill controlled processes immediately"
This reverts commit e8dde0e989.

Actually, this breaks Limnoria's STS tests, I need to investigate this
later.
2021-07-07 12:44:10 +02:00
Valentin Lorentz e8dde0e989 Kill controlled processes immediately
Also ensures services are always stopped (so far, they were not if
they ignored SIGTERM but the ircd honors SIGTERM)
2021-07-07 12:13:40 +02:00
Valentin Lorentz 08a74096d0 test_cap: Fix random failure. 2021-07-04 22:44:18 +02:00
Valentin Lorentz 450a413036 Fix random failure (again) 2021-07-04 20:11:35 +02:00
Valentin Lorentz 15f9875ae5 chathistory: Parametrize tests by subcommand
This means that:

* if one subcommand implementation is buggy, other subcommands are still tested and
  have a chance to pass
* we can exclude known-buggy subcommands from the Makefile
* when a test failure happens, we get much shorter logs (only logs for
  that subcommand's I/O)
2021-07-04 17:31:18 +02:00
Valentin Lorentz 92a73ad4a5 Use pytest parametrization instead of ad-hoc method generation 2021-07-04 17:06:37 +02:00
Valentin Lorentz 0177c369dd Switch from unittest-style to pytest-style test collection
I was to use parametrization in a future test, but pytest doesn't
support it on unittest-style tests.
2021-07-04 17:06:37 +02:00
Val Lorentz 06f053bf61
Remove some Ergo marks (#70)
* Remove some 'Ergo' marks

These are not ergo-specific specs

* Make chathistory test less Ergo-specific

Although they can only run on Ergo for now, as Unreal has a couple
of minor bugs that prevents them from passing.

* Fix synchronization issue

(NickServ sets MODE +r, which is unexpected caught by the next
self.assertMessageMatch call)
2021-07-04 15:04:48 +02:00
Valentin Lorentz 61974e6d0c Enable mute extban tests on Ergo 2021-07-04 09:55:46 +02:00
Shivaram Lingamneni 4932d410e2 fix chathistory spec violation in INVALID_TARGET
https://github.com/ergochat/ergo/issues/1731
2021-07-04 09:51:04 +02:00
Valentin Lorentz fc07fa7d96 Don't check for NickServ availability multiple times per test
It's a waste of time.
2021-07-03 11:48:25 +02:00
Valentin Lorentz 63f4130ab5 Unreal: Add support for Atheme 2021-07-03 11:15:34 +02:00
Valentin Lorentz 4271d5d986 test_bot_mode: Fix racey failures
cause by the sent message being processed after the target
user's recv
2021-07-03 09:59:31 +02:00
Val Lorentz d74b0e74c6
Merge pull request #62 from ProgVal/unreal
Add Unreal controller
2021-07-03 09:54:22 +02:00
Valentin Lorentz 83152bdc24 unreal: deselect tests depending on +draft/react
Unreal won't support them 1st-party:
https://github.com/unrealircd/unrealircd/pull/149
2021-07-03 09:40:49 +02:00
Valentin Lorentz c4d19d44e8 test_labeled_responses: Actually check 'label' tags aren't relayed
The existing assertion's comment said it checked the label wasn't
relayed, but the code actually let any tag through.
2021-07-03 09:31:51 +02:00
Valentin Lorentz 3fafc76baa fix comment 2021-07-02 22:25:45 +02:00
Valentin Lorentz 42225a68b7 test_buffering: improve log readability 2021-07-02 22:25:07 +02:00
Valentin Lorentz a1040a4553 Minor bug fixes 2021-07-02 21:48:12 +02:00
Valentin Lorentz f83f2a4edf Make all tests pass with Unreal (minus service tests) 2021-07-02 21:41:35 +02:00
Valentin Lorentz 2d2e788275 Start adding support for Unreal
Not all tests pass yet, Unreal uses the protocol in ways we did not anticipate.
2021-07-01 23:10:37 +02:00
Valentin Lorentz 2972706ca6 Add a 'services' mark, to allow disabling tests that depend on them. 2021-07-01 17:17:59 +02:00
Valentin Lorentz 26a0245a6a Add tests for the draft bot mode. 2021-07-01 16:44:48 +02:00
Shivaram Lingamneni cccb937068
Merge pull request #59 from ergochat/master
merge in a new ergo regression test
2021-06-28 01:48:18 -04:00
Shivaram Lingamneni 50cd718871 explicitly request sasl cap in new test 2021-06-28 00:23:26 -04:00
Shivaram Lingamneni 342ffcbdbe enable run_services for new test 2021-06-28 00:18:39 -04:00
Valentin Lorentz 3d2399f62e Run Atheme with Charybdis, to enable tests depending on SASL 2021-06-27 21:19:34 +02:00
Valentin Lorentz 76db5758e9 Remove ircd-seven
A future commit will need Chary and its subclasses to use SASL,
but ircd-seven has a different config to use SASL.

And ircd-seven is not used anymore AFAICT, and won't be getting any updates,
so I don't want to bother.
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
Valentin Lorentz 48eeeb7312 Always request the 'sasl' cap before using AUTHENTICATE
InspIRCd ignores AUTHENTICATE when the cap is not negotiated.
2021-06-27 14:38:54 +02:00
Valentin Lorentz 7ac4d7f80f Use `getRegistrationMessage()` when relevant
It's an alias for
`filter_pred=lambda m: m.command != "NOTICE", synchronize=False`
2021-06-27 14:38:54 +02:00
Valentin Lorentz b3d775f0d6 getMessages: Raise an error when forgetting to synchronize=False
Instead of hanging forever.

Hopefully there shouldn't be any false positive.
2021-06-27 14:38:54 +02:00
Valentin Lorentz cc8b9748a7 Always request the 'sasl' cap before using AUTHENTICATE
It's required by InspIRCd.

This commit also adds a check so we don't forget it when testing
locally only with Ergo.
2021-06-27 14:38:54 +02:00
Valentin Lorentz 829edddeb8 Remove some Ergo-specific assumptions.
We need to remove them before we can start running these tests
on Inspircd.
2021-06-27 14:38:54 +02:00
Shivaram Lingamneni 65b479c609 add regression test for ergochat/ergo#1696 2021-06-27 04:41:30 -04: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 eef07da56a cases: Stop ignoring the 'msg' parameter in assert* methods 2021-06-27 00:23:21 +02:00
Valentin Lorentz 60e6c013b2 Fix mypy error 2021-06-26 22:11:47 +02:00
Valentin Lorentz a29e46c17a Add test for account tag on INVITE messages.
This will catch issues like https://github.com/solanum-ircd/solanum/issues/166
(when we have registration support for solanum)
2021-06-26 18:44:55 +02:00
Valentin Lorentz 6f68a0d601 Hide irrelevant frames on pytest failures
It makes failures easier to read, by showing only the relevant tests
instead of the helper functions.

https://doc.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers
2021-06-26 18:37:44 +02:00
Shivaram Lingamneni 50b36f281d ergo: remove additional-nick-limit 2021-06-18 18:43:45 -04:00
Shivaram Lingamneni 7be29ad801 rename Oragono to Ergo 2021-05-27 00:07:32 -04:00
Shivaram Lingamneni 6bdfdf58b2 first pass at renaming oragono to ergo 2021-05-26 16:02:22 -04:00
Shivaram Lingamneni db0c64fa30 remove draft/resume-0.5 tests 2021-05-19 08:49:49 +02:00
Shivaram Lingamneni 729b7cb8d8 regression test for oragono/oragono#1642 2021-05-05 22:08:22 +02:00
Valentin Lorentz cfe0b0d3dd Add test for message matching commands
+ fix a bug in tested code
+ change conftest.py to allow missing --controller arg (which is
  an UI improvement, as it allows using 'pytest --help' now)
2021-04-18 09:21:27 +02:00
Shivaram Lingamneni 498b67ae96 Remove CHATHISTORY * and znc.in/playback *self
CHATHISTORY * is being removed here:

https://github.com/ircv3/ircv3-specifications/pull/450

znc.in/playback *self was an Oragono extension that didn't catch on:

https://github.com/oragono/oragono/issues/1205
2021-04-17 23:26:06 +02:00
Valentin Lorentz 5e622a34d3 test_buffering: add support for ERR_INPUTTOOLONG 2021-03-05 20:29:44 +01:00
Valentin Lorentz 4d2976c7e6 Use TCP_NODELAY on the socket, it may be better to make test_buffering relevant 2021-03-05 20:21:48 +01:00
Valentin Lorentz c58c238875 Add a set of buffering/truncation test cases.
Also checks for UTF8ONLY
2021-03-05 19:30:30 +01:00
Shivaram Lingamneni 100b53fb18 test for Oragono disallowing truncation 2021-03-05 19:30:15 +01:00
Valentin Lorentz 6d74a06327 always negotiate batch with labeled-response, it's required by the spec 2021-03-04 17:38:50 +01:00
Shivaram Lingamneni 0f2445c1eb review fixes 2021-03-03 14:37:03 -05:00
Shivaram Lingamneni 74f40ad23d allow ERR_INPUTTOOLONG if a PRIVMSG cannot be relayed 2021-03-03 13:57:11 -05:00
Valentin Lorentz 1e0de7aefb assertMessageMatch: Add pattern-matching on tags, and start using it. 2021-03-01 21:59:50 +01:00
Valentin Lorentz 3c2db1531a register: Update error name to COMPLETE_CONNECTION_REQUIRED to follow the spec 2021-02-28 23:34:23 +01:00
Valentin Lorentz 3f231403ba Use assertMessageMatch whenever possible, and generalize listMatch to accept regexps
it's stricter this way + hopefully more readable and better error msgs
2021-02-28 23:22:31 +01:00
Valentin Lorentz e012c5248b Move list_match to its own module, and prepare generalizing AnyStr 2021-02-28 23:22:31 +01:00
Valentin Lorentz b8867cf4a2 Use a new 'magic' class AnyStr instead of Ellipsis for pattern-matching messages. 2021-02-28 20:44:31 +01:00
Valentin Lorentz 1fbd51c0b5 Rename assertMessageEqual to assertMessageMatch
it describes the function better
2021-02-28 20:44:31 +01: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 1c1b8214a0 normalize_namreply_params: Fix typo in function call 2021-02-28 18:45:13 +01:00
Valentin Lorentz 04ae1dcba1 echo_message: run black 2021-02-28 11:59:25 +01:00
Valentin Lorentz 00ff27f277 resume: rename bar/baz to observer/mainnick to improve readability 2021-02-28 11:31:56 +01:00
Valentin Lorentz 6125381598 fix typo in spec name 2021-02-28 10:00:24 +01:00
Valentin Lorentz daa182bcd2 Make testDirectMessageEcho not Oragono-specific 2021-02-28 09:57:37 +01:00
Valentin Lorentz f7be6cf016 Make all remaining tests not Oragono-specific when relevant. 2021-02-28 09:57:16 +01:00
Valentin Lorentz 6b6b86415d Make testKeyValidation not Oragono-specific. 2021-02-28 09:43:08 +01:00
Valentin Lorentz 28ecfc4608 testStatusmsgFromOp: Fix interleaved events causing the test to be flaky. 2021-02-28 09:41:44 +01:00
Valentin Lorentz 96a8d1f7ff Make MuteExtban not Oragono-specific. 2021-02-28 09:24:47 +01:00
Valentin Lorentz 8cefc57e61 cases: Get rid of the subcommand/subparams nonsense
Tt was specific to the CAP command but pretended to be generic.

Instead, allow matching on the params argument using Ellipsis.
2021-02-28 08:59:48 +01:00
Valentin Lorentz 70fcc15e00 statusmsg: Make tests non Oragono-specific. 2021-02-28 08:57:39 +01:00
Valentin Lorentz da9567b612 Add BanMode tests. 2021-02-28 08:56:20 +01:00
Valentin Lorentz 51d0ce4483 Remove getIsupport(), it's redundant with server_support 2021-02-27 16:00:28 +01:00
Valentin Lorentz 22eb8d4369 inspircd: Enable all modules for caps/commands that we can test
Instead of skipping these tests.
2021-02-27 15:34:59 +01:00
Valentin Lorentz 06972fc1c4 Add Solanum 2021-02-27 15:34:59 +01:00
Valentin Lorentz 72eee6114f Add ircd-seven 2021-02-27 15:23:33 +01:00
Valentin Lorentz 407fe663d1 Add Solanum 2021-02-27 15:23:33 +01:00
Valentin Lorentz 4d50c3eabc Rewrite PART tests to actually follow the RFCs. 2021-02-27 14:27:22 +01:00
Valentin Lorentz 309a0e45e7 assertMessageEqual: fix error msg 2021-02-27 14:14:08 +01:00
Valentin Lorentz 0352a83a73 Change IRCv3 marks to reference capabilities instead of v3.1 / v3.2 2021-02-27 12:59:28 +01:00
Valentin Lorentz 5ab2fa709e Fix testNickReleaseUnregistered on inspircd
PING is not valid before registration.
2021-02-27 10:33:57 +01:00
Valentin Lorentz de243b38eb Fix testCapRemovalByClient for Charybdis 2021-02-26 21:26:25 +01:00
Valentin Lorentz ae09b99d0e Overload the < <= > >= comparison assertion methods. 2021-02-26 21:06:17 +01:00
Valentin Lorentz 0a1ccfec24 Fix assertMessageEqual to actually raise the exception 2021-02-26 21:05:01 +01:00
Valentin Lorentz e6ca463dce Make testCapRemovalByClient not specific to Oragono 2021-02-26 19:16:24 +01:00
Valentin Lorentz ff67739c67 Add _IrcTestCase.messageDiffers to allow matching messages without using assertions. 2021-02-26 19:16:24 +01:00
Valentin Lorentz 05e75782c9 testNoticeNonexistentChannel: also quote RFC 1459 2021-02-24 19:46:36 +01:00
Valentin Lorentz c90141bc61 Use a dedicated 'deprecated' mark instead of add '-deprecated' for each spec
Also rename `@cases.SpecificationSelector.requiredBySpecification("xxx")`
to `@cases.mark_specifications("xxx")` because it's shorter and looks
like pytest's own syntax
2021-02-24 19:19:35 +01:00
Valentin Lorentz 2a1324fc94 lusers: Fix tests to allow missing optional args
According to https://defs.ircdocs.horse/defs/numerics.html , they are not mandatory;
and InspIRCd doesn't return them.
2021-02-24 19:07:22 +01:00
Valentin Lorentz f92b0e2889 lusers: Assert GlobalInvisible and GlobalVisible are lower or equal to the total 2021-02-24 19:07:22 +01:00
Valentin Lorentz fb04da39cc lusers: deduplicate assertions 2021-02-24 19:07:22 +01:00
Valentin Lorentz 0cf2726f78 away_notify: Better errors 2021-02-24 18:59:45 +01:00
Valentin Lorentz 79399e5c99 account_tag: Fix/proofread assertions. 2021-02-24 18:55:30 +01:00
Valentin Lorentz 2bd5093df9 Remove strip_first_param argument, it's unused. 2021-02-24 18:19:29 +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 932e9ade5a sopel: Create ~/.sopel/ if it does not exist 2021-02-24 13:49:14 +01:00
Shivaram Lingamneni 2ef4689004 restore print statement when waiting 2021-02-22 21:55:15 +01:00
Shivaram Lingamneni efab101890 remove sleep from read loops
recv() should block as necessary up to the 1-second timeout;
connection failures will break out of the loop with an exception.
There shouldn't be a case where we incur a busy wait.
2021-02-22 21:55:15 +01:00
Shivaram Lingamneni 10edb9dd9d fix LUSERS tests to work with oragono 2021-02-22 20:21:39 +01:00
Valentin Lorentz 4ac891382e make pyxmpp2-scram an optional dependency. 2021-02-22 19:44:41 +01:00
Valentin Lorentz ca93caa69d Make the dependency on ecdsa optional 2021-02-22 19:44:41 +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 34ed62fd85 Merge branch 'cherry-picking' ('Cherry pick commits from my old branch of irctest' GH-17) 2021-02-22 18:44:41 +01:00
Valentin Lorentz e9a2bdd008 Fix merges 2021-02-22 18:33:42 +01:00
Valentin Lorentz f0141b0a93 Fix compatibility with return value of SSLSocket.sendall in python >= 3.6.
https://bugs.python.org/issue25951
2021-02-21 23:18:55 +01:00
Valentin Lorentz e45a1fb9db limnoria: add support for STS. 2021-02-21 23:18:55 +01:00
Valentin Lorentz 28f1ceb4e6 Fix ecdsa tests to use the same protocol as Atheme.
Which requires not hashing the challenge.
2021-02-21 23:18:55 +01:00
Valentin Lorentz ff54d9cfd6 Temporarily disabling sts on Limnoria until it's released. 2021-02-21 22:05:15 +01:00
Valentin Lorentz b4873fdea4 Ignore return value of sendall; it's not None on py < 3.6.
https://bugs.python.org/issue25951
2021-02-21 22:05:15 +01:00
Valentin Lorentz 373c705247 Add STS tests. 2021-02-21 22:05:15 +01:00
Valentin Lorentz 68c2dad8d9 For SCRAM, check clients send an empty response at the end.
https://github.com/ircv3/ircv3-specifications/pull/326
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 85f02c4626 Use pytest as a test runner instead of unit test
'./test <controller> -s spec1 -s spec2' becomes:
'pytest --controller <controller> -k "spec1 or spec2"'

This uses pytest's test selection, which allows finer selection of which tests
to run (for example, it will allow running all tests but those requiring one
feature or combination of features).
It also allows running only a particular test (or set of test) by
filtering on their name or file name.

pytest also shows a much nicer output while testing (grouped by file,
percentage of tests run, manages the verbosity); and it captures all the output
and only shows it if the test fails, which makes --show-io irrelevant.
2021-02-21 18:03:20 +01:00
Valentin Lorentz efa5b5eb3b client_tests/test_sasl: Update to work with newer versions of Sopel 2021-02-20 10:53:23 +01:00
Valentin Lorentz fe694487c7 Better handling of connections closed by clients. 2021-02-20 10:43:00 +01:00
Valentin Lorentz c4a9592156 Fix Sopel tests; broken by 9b2a6a063c. 2021-02-20 10:42:37 +01:00
Valentin Lorentz 3d7a539d06 Fix some tests to pass with inspircd 2021-02-20 09:53:30 +01:00
Valentin Lorentz 3932a40d74 Fix client tests broken by a14ebf9ec2. 2021-02-19 23:00:00 +01:00
Valentin Lorentz 0dfe0de549 Fix client tests broken by 020564bdcb. 2021-02-19 22:57:59 +01:00
Valentin Lorentz c9c08c7f6f client_mock: Write client name in 'waiting...' message 2021-02-19 22:25:41 +01:00
Valentin Lorentz 684c889304 Fix testWhoisUser to pass with inspircd. 2021-02-19 19:22:00 +01:00
Valentin Lorentz c9dbba985c Fix crash when sendLine() is called with bytes and --show-io is given. 2021-02-19 19:19:58 +01:00
Valentin Lorentz fe0d65f7c8 Fix oragono tests broken by 9b2a6a063c. 2021-02-19 19:19:37 +01:00
Shivaram Lingamneni 8d427c80c8 fix stall on failed channel join 2021-02-18 19:35:11 +01:00
Valentin Lorentz a74f893942 Fix IRCv3 tests to not fail with Charybdis. 2021-02-17 21:35:36 +01:00
Valentin Lorentz 75dafa47fe testWhoisUser: use a shorter username, so it doesn't get truncated
eg. charybdis limits it to 10 characters
2021-02-17 10:45:52 +01:00
Valentin Lorentz d69c41756b Fix RFC1459 tests to pass with charybdis
only oragono replies to PINGs before a valid NICK afaik.
2021-02-16 00:33:46 +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 de49571b1e add test coverage for RPL_TOPIC 2021-02-08 17:47:11 -05:00
Shivaram Lingamneni b58fe44b5b update relaymsg test 2020-12-21 22:06:13 -05:00
Shivaram Lingamneni 307722fbec test the multiline batch tag 2020-12-15 04:41:25 -05:00
Shivaram Lingamneni 0b9087cc39 rename test 2020-12-14 22:55:49 -05:00
Shivaram Lingamneni 40ac45cdbe add a channel forwarding test 2020-12-14 05:22:41 -05:00
Shivaram Lingamneni 5aeb297de5 fix relaymsg test fail code 2020-12-07 02:25:20 -05:00
Shivaram Lingamneni 8c66157a9e test that TAGMSG are not sent to users with only server-time 2020-11-30 17:00:06 -05:00
Shivaram Lingamneni 3b489a2125 test long-line DoS attacks 2020-11-30 13:18:02 -05:00
Shivaram Lingamneni 14435ce0e8 regression test for oragono #1411 2020-11-29 19:32:29 -05:00
Shivaram Lingamneni a723791942 add a test for message-tags and ERR_INPUTTOOLONG 2020-11-29 18:54:37 -05:00
Shivaram Lingamneni d741ab86d5 add a test for message-tags 2020-11-26 00:25:52 -05:00
Shivaram Lingamneni b7975ada46 allow message-tags to enable account tag implicitly
Servers MAY send arbitrary server tags (time, msgid, account) to clients
that have enabled message-tags.
2020-11-24 21:22:59 -05:00
Shivaram Lingamneni b43e127805 modify chathistory test to check for INVALID_TARGET 2020-11-04 01:51:51 -05:00
Shivaram Lingamneni 512b4bd74d add regression test for oragono #1370 2020-11-01 18:14:57 -05:00
Shivaram Lingamneni d48cbc4287 oragono-specific test for unregistered lusers counts 2020-10-21 19:47:49 -04:00
Shivaram Lingamneni 215ed3171b test unregistered counts in LUSERS 2020-10-21 19:46:00 -04:00
Shivaram Lingamneni 95a26bfa57 add a test for +m 2020-10-21 19:26:31 -04:00
Shivaram Lingamneni 706e794df6 test for mute extban 2020-10-21 11:08:14 -04:00
Shivaram Lingamneni 62197e4c4d test for +U opmoderated 2020-10-20 13:42:51 -04:00
Shivaram Lingamneni f0eb6e4e80 test for lusers 2020-10-15 22:40:11 -04:00
Shivaram Lingamneni 513c74a52b regression test for #1312 2020-10-13 09:22:07 -04:00
Shivaram Lingamneni 1ac1c1c6a7 basic integration tests for REGISTER/VERIFY 2020-10-09 08:38:53 -04:00
Shivaram Lingamneni d144dad001 enable strict nickname reservation 2020-10-09 08:38:18 -04:00
Shivaram Lingamneni 0c069b7418 test no-CTCP mode 2020-10-02 12:41:13 -04:00
Shivaram Lingamneni 616785eae4 test topic privileges 2020-10-02 07:50:14 -04:00
Shivaram Lingamneni b2a1df41bd fix auditorium test, unvoiced users can speak 2020-10-01 18:02:51 -04:00
Shivaram Lingamneni 9eef97e615 test for auditorium mode 2020-10-01 10:49:59 -04:00
Shivaram Lingamneni a67cfea82f rename relaymsg oper capab 2020-10-01 09:47:21 -04:00
Shivaram Lingamneni 0287b83797 add a test for SCENE 2020-09-16 12:12:24 -04:00
Shivaram Lingamneni 59eb7502f5 fix addMysqlToConfig 2020-09-16 12:09:06 -04:00
Shivaram Lingamneni 9cf318ed66 improve synchronization 2020-09-14 08:14:47 -04: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
Shivaram Lingamneni a14ebf9ec2 remove scram 2020-09-13 06:41:06 -04:00
Shivaram Lingamneni c5e565ed27 remove ecdsa 2020-09-13 06:39:53 -04:00
Shivaram Lingamneni 8851083a3e remove limnoria/supybot 2020-09-13 06:38:15 -04:00
Shivaram Lingamneni 61941e2be0 test for RELAYMSG 2020-09-10 02:31:23 -04:00
Shivaram Lingamneni ceb2431134 compatibility with #1248 2020-09-06 21:37:47 -04:00
Shivaram Lingamneni f09ec7d9aa add more nickname tests 2020-08-30 16:22:25 -04:00
Shivaram Lingamneni ed2b6148e5 add regression test for #1252 2020-08-29 23:33:42 -04:00
Shivaram Lingamneni 0bdbe2ce24 fix * being accepted as a nick during registration 2020-08-29 23:23:24 -04:00
Shivaram Lingamneni 347e4fd74a compatibility with #1204 2020-07-23 23:13:17 -04:00
Shivaram Lingamneni 829cb38863 test 2-argument form of znc *playback 2020-07-22 20:41:30 -04:00
Shivaram Lingamneni 59e3b873ea add away-notify tests 2020-07-17 02:54:03 -04:00
Shivaram Lingamneni 23d6fecae9 fix tagmsg-storage 2020-07-09 19:40:51 -04:00
Shivaram Lingamneni d1f15fb05c fix #1179 2020-07-06 04:27:53 -04:00
Shivaram Lingamneni b54a1b1455 add draft/persist to chathistory tagmsg test 2020-07-01 14:35:11 -04:00
Shivaram Lingamneni 4e9de71f7d use FAIL as per review fix 2020-06-22 18:53:43 -04:00
Shivaram Lingamneni bdefa32d3a add a test for utf8 enforcement 2020-06-22 15:48:56 -04:00
Shivaram Lingamneni a87416e5ee fix incorrect class name 2020-05-28 18:40:22 -04:00
Shivaram Lingamneni e5789f9a37 add a test for #1076 2020-05-28 18:39:02 -04:00
Shivaram Lingamneni 40364408a4 add tagmsg replay test 2020-05-22 12:03:44 -04:00
Shivaram Lingamneni 53f5ef711e channel key tests 2020-05-18 03:56:36 -04:00
Shivaram Lingamneni b208baaa11 add blank line test 2020-05-14 12:27:38 -04:00
Shivaram Lingamneni 21b225f23d simplify addLoggingToConfig 2020-04-29 01:45:46 -04:00
Shivaram Lingamneni d1d94646a7 basic coverage test for roleplay 2020-03-19 17:08:53 -04:00
Shivaram Lingamneni d490f532c8 add a test for confusable nicks 2020-03-11 06:51:23 -04:00
Shivaram Lingamneni e89d394ce5 add a regression test for #833 2020-02-28 05:40:33 -05:00
Shivaram Lingamneni 957e7ce1fd test casefolding of nickname targets 2020-02-28 03:52:35 -05:00
Shivaram Lingamneni dcec0a48ce test nicknames as znc playback targets 2020-02-27 23:52:55 -05:00
Shivaram Lingamneni 015eef0bfa pull the mysql password from an env variable 2020-02-27 23:10:51 -05:00
Shivaram Lingamneni 41d63ff3cc add znc playback test 2020-02-27 23:00:37 -05:00
Shivaram Lingamneni 0ad60477be tests shouldn't rely on always-on for correctness 2020-02-24 22:22:38 -05:00
Shivaram Lingamneni 2401f6a07f tweak multiline test 2020-02-21 00:08:50 -05:00
Shivaram Lingamneni 10070f3efd update bouncer/multiclient test 2020-02-21 00:07:02 -05:00
Shivaram Lingamneni b35258f6ab empty batch test 2020-02-20 23:44:53 -05:00
Shivaram Lingamneni 1b372e996a add mysql timeout 2020-02-20 23:27:00 -05:00
Shivaram Lingamneni 7465c6432f test PRIVMSG to self 2020-02-20 16:27:00 -05:00
Shivaram Lingamneni 7749407d6a test DM echoes 2020-02-20 03:11:42 -05:00
Shivaram Lingamneni 8012b380e2 test copies of sent messages 2020-02-20 01:13:23 -05:00
Shivaram Lingamneni 50bc578e0b do an old TODO 2020-02-20 01:09:23 -05:00
Shivaram Lingamneni c5708e5722 resume test also needs unique channel names 2020-02-18 03:37:37 -05:00
Shivaram Lingamneni 68d7813325 tweaks to chathistory test 2020-02-18 01:25:08 -05:00
Shivaram Lingamneni 5073dd7a3d enhanced chathistory test 2020-02-17 04:05:21 -05:00
Shivaram Lingamneni 224cb4dde5 fix oragono issue 776 2020-02-07 13:30:21 -05:00
Shivaram Lingamneni 1109820f72 fix a race in testInvisibleWhois 2020-02-07 01:22:11 -05:00
Shivaram Lingamneni c8e4f1eaa2 add CHATHISTORY test 2020-02-07 01:22:11 -05:00
Shivaram Lingamneni 493e1eba65 test that multiline echo-message is labeled 2020-01-27 21:14:46 -05:00
Shivaram Lingamneni ab9e6788db ratify labeled-response 2020-01-27 21:12:33 -05:00
Shivaram Lingamneni 47f94a8133 test no-CTCP functionality 2020-01-26 21:06:40 -05:00
Shivaram Lingamneni 28048e319f add a regression test for oragono #754 2020-01-25 21:15:39 -05:00
Shivaram Lingamneni 020564bdcb fix incorrect type for empty tags 2020-01-25 20:59:55 -05:00
Shivaram Lingamneni 0a875ed7de remove fmsgids from multiline 2020-01-20 00:23:40 -05:00
Shivaram Lingamneni b98ca189c0 add a test for case changes 2020-01-05 22:04:21 -05:00
Shivaram Lingamneni 998035e17e test #731 2020-01-03 09:50:03 -05:00
Shivaram Lingamneni d351b84b03 fix registration to use NS instead of ACC 2019-12-29 12:51:16 -05:00
Shivaram Lingamneni cb3c87cb84 add multiline test 2019-12-29 12:26:26 -05:00
Shivaram Lingamneni b2890a2d10 remove starttls test 2019-06-28 13:58:46 -04:00
Shivaram Lingamneni b044d857a0 update for new config format; programmatic rewriting of the config 2019-06-28 13:58:32 -04:00
Shivaram Lingamneni e6c2c0d619 don't bump the batch name 2019-06-13 07:23:50 -04:00
Shivaram Lingamneni 63a45a6c07 test the ACK message 2019-06-13 02:11:26 -04:00
Shivaram Lingamneni 3697ecbebf wip 2019-06-13 02:04:01 -04:00
Shivaram Lingamneni a72c9a74c0 test the RESUMED message 2019-05-29 07:32:22 -04:00
Shivaram Lingamneni 3660e9b9a3 timestamps are optional again 2019-05-29 07:28:25 -04:00
Shivaram Lingamneni 8ccf59c28a upgrade resume test to 0.5 2019-05-29 05:56:25 -04:00
Shivaram Lingamneni fddc395d43 forgot to commit this file 2019-05-27 16:03:36 -04:00
Shivaram Lingamneni 5f566e7164 upgrade resume test 2019-05-24 06:16:02 -04:00
Shivaram Lingamneni 7d81888b44 rough test for bouncer functionality 2019-05-09 05:39:00 -04:00
Shivaram Lingamneni f0c5cc5648 test STATUSMSG 2019-04-23 01:13:57 -04:00
Shivaram Lingamneni 79f29a768a isupport test 2019-04-23 00:53:58 -04:00