diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-12-02 15:21:00 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-12-02 15:21:00 +0000 |
commit | 693516e7566fdde677f5d836d45c44fbd8722ba9 (patch) | |
tree | f7a6a385c4461cdc3481b37816f0ccaee10ec7ec /tests/server.py | |
parent | Fix a regression when grandfathering SAML users. (#8855) (diff) | |
download | synapse-693516e7566fdde677f5d836d45c44fbd8722ba9.tar.xz |
Add `create_resource_dict` method to HomeserverTestCase
Rather than using a single JsonResource, construct a resource tree, as we do in the prod code, and allow testcases to add extra resources by overriding `create_resource_dict`.
Diffstat (limited to 'tests/server.py')
0 files changed, 0 insertions, 0 deletions