mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:24:56 -04:00
Add type hints to tests/rest/client
(#12094)
* Add type hints to `tests/rest/client` * update `mypy.ini` * newsfile * add `test_register.py`
This commit is contained in:
parent
7754af24ab
commit
952efd0bca
5 changed files with 72 additions and 64 deletions
|
@ -25,7 +25,7 @@ class GroupsTestCase(unittest.HomeserverTestCase):
|
|||
servlets = [room.register_servlets, groups.register_servlets]
|
||||
|
||||
@override_config({"enable_group_creation": True})
|
||||
def test_rooms_limited_by_visibility(self):
|
||||
def test_rooms_limited_by_visibility(self) -> None:
|
||||
group_id = "+spqr:test"
|
||||
|
||||
# Alice creates a group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue