irctest/irctest
Valentin Lorentz 7b273443ef Add tests for PRIVMSG to a server mask
https://github.com/ircdocs/modern-irc/pull/134

A bunch of tests are failing, we need to work this out in the Modern PR

Note: it needs the following patch to plexus4 to be relevant:

```diff
diff --git a/modules/core/m_message.c b/modules/core/m_message.c
index adf0821..7568f20 100644
--- a/modules/core/m_message.c
+++ b/modules/core/m_message.c
@@ -575,7 +575,7 @@ handle_special(int p_or_n, const char *command, struct Client *client_p,
       return;
     }

-    if (MyClient(source_p) && !HasUMode(source_p, UMODE_NETADMIN) && !HasFlag(source_p, FLAGS_SERVICE) && strcmp(nick + 1, me.name))
+    if (false)
     {
       sendto_one(source_p, form_str(ERR_NOPRIVILEGES), me.name, source_p->name);
       return;
```

(I'm too lazy to figure out how to become a netadmin)
2021-11-06 11:12:31 +01:00
..
client_tests Remove 'test_' prefix for all file names. 2021-08-11 19:34:33 +02:00
controllers Add tests for PRIVMSG to a server mask 2021-11-06 11:12:31 +01:00
irc_utils rmeove dead code 2021-09-11 00:32:10 +02:00
scram basic server test for SCRAM-SHA-256 (#84) 2021-08-08 20:47:42 +02:00
self_tests Remove 'test_' prefix for all file names. 2021-08-11 19:34:33 +02:00
server_tests Add tests for PRIVMSG to a server mask 2021-11-06 11:12:31 +01:00
__init__.py Basic architecture. 2015-12-19 01:11:57 +01:00
authentication.py Use dataclasses instead of dicts/namedtuples 2021-02-28 18:45:13 +01:00
basecontrollers.py Try to make bahamut tests less flaky 2021-08-11 18:39:29 +02:00
cases.py exhaustive testing of Modern's WHOIS spec (#104) 2021-08-29 16:38:38 +02:00
client_mock.py getMessages: Raise an error when forgetting to synchronize=False 2021-06-27 14:38:54 +02:00
exceptions.py Use Black code style 2021-02-22 19:42:18 +01:00
numerics.py exhaustive testing of Modern's WHOIS spec (#104) 2021-08-29 16:38:38 +02:00
patma.py test_labeled_responses: Actually check 'label' tags aren't relayed 2021-07-03 09:31:51 +02:00
runner.py rmeove dead code 2021-09-11 00:32:10 +02:00
specifications.py Add TARGMAX test 2021-09-04 20:02:20 +02:00
tls.py Use dataclasses instead of dicts/namedtuples 2021-02-28 18:45:13 +01:00