Autor | SHA1 | Wiadomość | Data |
---|---|---|---|
|
652d1669c5
|
Add missing type hints to tests.handlers. (#14680)
And do not allow untyped defs in tests.handlers. |
1 rok temu |
|
4b965c862d
|
Remove redundant "coding: utf-8" lines (#9786)
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` |
3 lat temu |
|
0b3112123d
|
Use mock from the stdlib. (#9772) | 3 lat temu |
|
0a00b7ff14
|
Update black, and run auto formatting over the codebase (#9381)
- Update black version to the latest
- Run black auto formatting over the codebase
- Run autoformatting according to [`docs/code_style.md
`](
|
3 lat temu |
|
8a33d217bd
|
Convert some test cases to use HomeserverTestCase. (#9377)
This has the side-effect of being able to remove use of `inlineCallbacks` in the test-cases for cleaner tracebacks. |
3 lat temu |
|
c9c0ad5e20
|
Remove the deprecated Handlers object (#8494)
All handlers now available via get_*_handler() methods on the HomeServer. |
3 lat temu |
|
8a4a4186de
|
Simplify super() calls to Python 3 syntax. (#8344)
This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py |
3 lat temu |
|
b11450dedc
|
Convert E2E key and room key handlers to async/await. (#7851) | 3 lat temu |
|
2b2344652b
|
Ensure etag is a string for GET room_keys/version response (#7691) | 4 lat temu |
|
0d27aba900
|
add etag and count to key backup endpoints (#5858) | 4 lat temu |
|
5373de6cce | change test name to be unique | 4 lat temu |
|
4535a07f4a |
make version optional in body of e2e backup version update
to agree with latest version of the MSC |
4 lat temu |
|
32e7c9e7f2
|
Run Black. (#5482) | 5 lat temu |
|
b36c82576e
|
Run Black on the tests again (#5170) | 5 lat temu |
|
afae8442b5 |
make sure version is in body and wrap in linearizer queue
also add tests |
5 lat temu |
|
f1087106cf
|
handle empty backups according to latest spec proposal (#4123)
fixes #4056 |
5 lat temu |
|
3801b8aa03 | try to make flake8 and isort happy | 5 lat temu |
|
16a31c6fce | update to newer Synapse APIs | 5 lat temu |
|
66a4ca1d28 | 404 nicely if you try to interact with a missing current version | 6 lat temu |
|
edc427a351 | flake8 | 6 lat temu |
|
fe87890b18 | implement remaining tests and make them work | 6 lat temu |
|
f6a3067868 | linting | 6 lat temu |
|
15d513f16f | fix idiocies and so make tests pass | 6 lat temu |
|
174be586e5 | first cut at a UT | 6 lat temu |