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
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
0352a83a73
Change IRCv3 marks to reference capabilities instead of v3.1 / v3.2
2021-02-27 12:59:28 +01:00
Valentin Lorentz
de243b38eb
Fix testCapRemovalByClient for Charybdis
2021-02-26 21:26:25 +01:00
Valentin Lorentz
e6ca463dce
Make testCapRemovalByClient not specific to Oragono
2021-02-26 19:16:24 +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
f9d0ec18ff
Make flake8 pass, and run it automatically.
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
dc3ac21f75
test cap removal with, e.g., CAP REQ :-server-time
2019-02-13 19:43:25 -05:00
Shivaram Lingamneni
a3ad8a1038
fix lots of pyflakes3 failures
2019-02-13 19:43:25 -05:00
Valentin Lorentz
76f0224f25
Fix assertion message.
2015-12-23 21:28:36 +01:00
Valentin Lorentz
2cc4ad4f0f
Make the set of tested specifications configurable.
2015-12-22 19:55:48 +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
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
900f18492c
Add docstrings.
2015-12-20 13:47:30 +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
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
a8f8d7c077
Start supporting server testing.
2015-12-19 23:09:06 +01:00