Val Lorentz
79bbdd2948
sasl: Add tests for signature failure from the server ( #179 )
2023-05-29 11:53:08 +02:00
Val Lorentz
2bc68a2208
Use xfail instead of deselection for known failures ( #155 )
2022-04-12 22:36:28 +02:00
Valentin Lorentz
10b6f8d6da
Remove useless 'OptionalityHelper'.
2022-04-12 18:48:03 +02:00
Valentin Lorentz
107af942e9
Add top-level docstrings to all modules
...
Will be used on the dashboard index in a future commit
2022-04-10 15:55:27 +02:00
Val Lorentz
69c5dca4b9
Add client tests for SASL with non-ASCII passwords ( #137 )
2022-03-19 16:09:27 +01:00
Valentin Lorentz
3b96b5992c
sts: Don't send the port on secure connections
2021-11-06 09:48:05 +01:00
Valentin Lorentz
9b02222c4c
Remove 'test_' prefix for all file names.
...
It's redundant.
2021-08-11 19:34:33 +02:00
Shivaram Lingamneni
9de76b6063
basic server test for SCRAM-SHA-256 ( #84 )
2021-08-08 20:47:42 +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
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
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
12da7e1e3b
Enable mypy, and do the minimal changes to make it pass
2021-02-28 18:45:13 +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
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
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
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
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
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
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
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
Valentin Lorentz
37ea5be753
Add tests for SCRAM.
2017-11-01 17:52:29 +00:00
Valentin Lorentz
548ddb57b0
Add TLS certificate check tests for clients.
2016-07-20 11:41:35 +02:00
Valentin Lorentz
2cc4ad4f0f
Make the set of tested specifications configurable.
2015-12-22 19:55:48 +01:00
Valentin Lorentz
4ac1108f82
Add quotes from specifications to test descriptions.
2015-12-21 13:09:30 +01:00
Valentin Lorentz
38569f013f
Add PLAIN test for servers.
2015-12-20 16:15:25 +01:00
Valentin Lorentz
900f18492c
Add docstrings.
2015-12-20 13:47:30 +01:00
Valentin Lorentz
95ad6f32d7
Report optional specs/mechs that required a test to be skipped.
2015-12-20 11:26:30 +01:00
Valentin Lorentz
5710e577ec
Check client resumes negotiation after ERR_SASLFAIL (904).
2015-12-20 10:53:27 +01:00
Daniel Oaks
07e160758e
client_tests.test_sasl: Split out mechanism test
2015-12-20 13:31:29 +10:00
Daniel Oaks
9301f5e50e
client_tests.test_sasl: Make supported mechanism list mandatory
2015-12-20 13:29:05 +10:00
Daniel Oaks
2541fa25ca
irctest.client_tests.test_sasl: Support skipping unsupported mechanism tests
2015-12-20 13:07:13 +10:00
Valentin Lorentz
c52e78d2f9
Remove useless constant.
2015-12-20 03:20:01 +01:00
Valentin Lorentz
1fd5770d42
Add client test for ECDSA-NIST256P-CHALLENGE.
2015-12-20 02:59:17 +01:00
Valentin Lorentz
71110b1ee1
Rename clienttests to client_tests for consistency.
2015-12-19 21:21:34 +01:00